Android?????????????????????????
???????????? ???????[ 2013/11/13 15:28:45 ] ????????
????2.???AndroidManifest.xml???
????????????
<instrumentation
android:name="android.test.InstrumentationTestRunner"
android:targetPackage="com.example" />
??????????
<instrumentation
android:name="com.example.test.instrumentation.InstrumentationTestRunner"
android:targetPackage="com.example" />
????3.???Run Configurations
??????????????>Run as >Run Configurations
??????Test???У????Run all tests in the selected project??or package
?????????????Eclipse??????????????μ?InstrumentationTestRunner
??????Instrumentation runner???????????д??InstrumentationTestRunner
???????Apply???????
????4.???????????в???????
Running all tests: adb shell am instrument -w com.android.foo/com.example.test.instrumentation.InstrumentationTestRunner
Running a single testcase: adb shell am instrument -w -e class com.android.foo.FooTest com.android.foo/com.example.test.instrumentation.InstrumentationTestRunner
Running multiple tests: adb shell am instrument -w -e class com.android.foo.FooTest??com.android.foo.TooTest com.android.foo/com.example.test.instrumentation.InstrumentationTestRunner
???????????????в?????????????????????????InstrumentationTestRunner?????μ?InstrumentationTestRunner?У?
??????????????????????????????????????????е?TEST-all.xml??????????????Running a single testcase??????ж??????????????????????????????????????????????Running multiple tests???
????5.????????????е????????
????adb -s $ANDROID_AVD_DEVICE pull /mnt/sdcard/rototium/TEST-all.xml
????????$ANDROID_AVD_DEVICE???????????????к?
????6.??jenkins?????????????????Publish JUnit test result report????????ó?????????????
??????
???·???
??????????????????
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