Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to do Cucumber Android integration testing?

I'm trying to set up continuous integration with an Android project and Cucumber.

The idea is to write tests in Cucumber and run the tests on my Android build via Cuke4Duke and NativeDriver for Android.

When I have this running, I plan to use Maven and a Jenkins server to automate the testing, so it is run every time i commit to the Subversion repo.

Has this been done before? Is there a good guide somewhere? Or is it a bad idea to do it this way?

like image 987
Svante Avatar asked Sep 05 '11 11:09

Svante


People also ask

Can we use Cucumber for integration testing?

Integration Test Scenario ImplementationSuch approach makes Cucumber test steps easy to understand as it invokes the actions class for operations on underlying MQs and databases. For data sharing among steps, we keep data in a dedicated component which servers as the test data context.

Can Cucumber be used for mobile testing?

Cucumber can be also used to enable large-scale test automation with real mobile devices. There are myriad of different test automation frameworks that can get you there instantly but also combined together with Cucumber.

What is Cucumber testing in Android?

Cucumber is an open-source software testing tool written in Ruby. Cucumber enables you to write test cases that anyone can easily understand regardless of their technical knowledge.


1 Answers

We're doing exactly what you're planning to do with Maven, Jenkins, and Git. The missing ingredient is the android/cucumber integration from lesspainful.com.

like image 135
Edward Dale Avatar answered Sep 19 '22 14:09

Edward Dale