I found myself in a similar situation. I used the command line to run my test. You can use the following commands
For one 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 this helps.
source share