Android Eclipse Plugin: Instrumentation Test Runner not specified

前端 未结 7 1278
抹茶落季
抹茶落季 2020-12-04 21:46

I\'m getting this error when trying to run unit tests from Eclipse with an Android Project. The list of Instrumentation Test Runners is empty in the Android preferences.

相关标签:
7条回答
  • 2020-12-04 22:15

    Just do a right click on your test class from eclipse IDE and click on "Run As". After this select "run Configuration" which will launch a Confiuration Window in eclipse and you need to click on the radio button next to the "Instrumentation Runner" and select the configured Instrumentation Runner from the drop down. Now click on apply and then click on Run . I think this will solve your problem.

    Thanks, Smruti

    0 讨论(0)
提交回复
热议问题