Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Custom AndroidJUnitRunner is not being called when tests are executed via Android Studio #15

Open
akiwarheit opened this issue Mar 24, 2017 · 1 comment

Comments

@akiwarheit
Copy link

First of all, thank you very much for the wonderful repo. This really helped me write Espresso for our existing app

My issue is around running the test - executing via the gradle wrapper runs the test correctly - but running it via studio executes the ff.

adb shell am instrument -w -r -e debug false -e class nz.co.blah.ui.MainActivityTest nz.co.blah.test/android.support.test.runner.AndroidJUnitRunner

Which is wrong because it should be executing my custom AndroidJUnitRunner. Do you happen to know how to edit this? I've made the instrumentation test gradle aware but it doesn't seem to call the appropriate runner.

@akiwarheit
Copy link
Author

Should be tagged as question as well - not an issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant