Robotium??????????????????????
???????????? ???????[ 2014/4/24 14:33:14 ] ???????????????? Robotium
?????????????
????1.???????е????????
???????????????в???????μ?????????
????1adb shell am instrument -w com.taobao.taobao.test/android.test.InstrumentationTestRunner
????2.???е?????????????TestSuite
???????????????в?????com.taobao.taobao.test.TestRegister
????1adb shell am instrument -e class com.taobao.taobao.test.TestRegister -w com.taobao.taobao.test/android.test.InstrumentationTestRunner
????3.????????????????????????????
????????????????com.taobao.taobao.test.TestRegister?е???????testRegister
????adb shell am instrument -e class com.taobao.taobao.test.TestRegister#testRegister -w com.taobao.taobao.test/android.test.InstrumentationTestRunner
????4.??????????????????????е????
????????????????com.taobao.taobao.test.TestLogin??com.taobao.taobao.test.TestRegister???е????testRegister
1adb shell am instrument -e class com.taobao.taobao.test.TestLogin??com.taobao.taobao.test.TestRegister#testRegister -w com.taobao.taobao.test/android.test.InstrumentationTestRunner
Runtime run = Runtime.getRuntime();
try {
//Process p = run.exec("am instrument -w com.testcalculator/android.test.InstrumentationTestRunner");///??????????????
Process p = run.exec("am instrument -e class com.testcalculator.AllTests -w com.testcalculator/android.test.InstrumentationTestRunner");
//?????????????
} catch (IOException e) {
// TODO Auto-generated catch block
e.printStackTrace();
}
}
??????
???·???
??????????????????
2023/3/23 14:23:39???д?ò??????????
2023/3/22 16:17:39????????????????????Щ??
2022/6/14 16:14:27??????????????????????????
2021/10/18 15:37:44???????????????
2021/9/17 15:19:29???·???????·
2021/9/14 15:42:25?????????????
2021/5/28 17:25:47??????APP??????????
2021/5/8 17:01:11