-
-
Notifications
You must be signed in to change notification settings - Fork 2k
Support Espresso 2.0 #813
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Comments
Can you be more specific? Or send a pull request? |
Check this: https://plus.google.com/+AndroidDevelopers/posts/jHXFkebKjEb The Espresso 2.0 changes its instrumentation test runner from GoogleInstrumentationTestRunner to AndroidJunitTestRunner. CucumberInstrumentation is currently inheriting GoogleInstrumentationTestRunner, so it needs to be updated to support this new test runner. |
Where exactly does cucumber-android need to change? |
Never mind, replied too soon |
As far as I can see cucumber-android does not need to be changed. To use Espresso you need to define your own instrumentation class, see #667. To use Espresso 2.0, that class should inherit from AndroidJunitTestRunner, instead of GoogleInstrumentationTestRunner. |
Ah, I didn't check that, sorry. That should be enough to support the new Espresso 2.0. |
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
The Espresso has just released its 2.0 version, and it changed its instrumentation test runner. As a result, Cucumber-android needs to be updated to support this new version.
The text was updated successfully, but these errors were encountered: