androidmanifest.xml:
<uses-library android:name="android.test.runner" />
<instrumentation
android:name="android.test.InstrumentationTestRunner"
android:targetPackage="包名" >
</instrumentation>
extends AndroidTestCase
testAddxxx(){}
androidmanifest.xml:
<uses-library android:name="android.test.runner" />
<instrumentation
android:name="android.test.InstrumentationTestRunner"
android:targetPackage="包名" >
</instrumentation>
extends AndroidTestCase
testAddxxx(){}
转载于:https://my.oschina.net/u/1177694/blog/493995