android-test-demo
android-test-demo copied to clipboard
Custom AndroidJUnitRunner is not being called when tests are executed via Android Studio
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.
Should be tagged as question as well - not an issue