我只是设法从命令行运行JUnit测试,但是使用adb shell。
命令是
./adb shell am instrument -w com.dddforandroid.api/android.test.InstrumentationTestRunner
更多细节在这里。

我只是设法从命令行运行JUnit测试,但是使用adb shell。
命令是
./adb shell am instrument -w com.dddforandroid.api/android.test.InstrumentationTestRunner
更多细节在这里。