I was caught up in the similar situation. I used command line to run my test. You can use the following commands
For a single Test
adb shell am instrument -e your class -w your package/android.test.InstrumentationTestRunner
For all your Tests
adb shell am instrument -w your package/android.test.InstrumentationTestRunner
Hope it helps.
- You must login to post comments