Thursday, 14 February 2019

Integration test and Cucumber test

I have a project where I'm running android instrumentation tests with an AndroidJunitRunner.

I'm now adding UI automated tests using Cucumber. How can I keep both Cucumber tests that use a runner that extends MonitoringInstrumentation and the other instrumentation tests that use a runner that extends `AndroidJunitRunner?

In the build.gradle I used to have

    testInstrumentationRunner "com.packagename.packagename2.MockedTestRunner"

now I have:

    testApplicationId "com.packagename.packagename2.test"
    testInstrumentationRunner "com.packagename.packagename2.test.Instrumentation"

Do I need to create a second module to run the cucumber tests?



from Integration test and Cucumber test

No comments:

Post a Comment