I try to move our tests from eclipse to android studio. I Just have the APK, do not have the source code.
I Just want to mannually installed my app and run tests.
I know can launch my app in eclipse with the setting in AndroidManifest.xml
<instrumentation
android:name="com.xx.autotest.TestSuit"
android:targetPackage="com.whee.myAPP" />
So what should I do in Android Studio?
Such as setting in build.gradle
defaultConfig {
minSdkVersion 16
targetSdkVersion 23
versionCode 1
versionName "1.0"
testApplicationId "com.xx.autotest.myApp"
testInstrumentationRunner "android.test.InstrumentationTestRunner"
testHandleProfiling true
testFunctionalTest true
}
I try to move our tests from eclipse to android studio. I Just have the APK, do not have the source code. I Just want to mannually installed my app and run tests. I know can launch my app in eclipse with the setting in AndroidManifest.xml <instrumentation android:name="com.xx.autotest.TestSuit" android:targetPackage="com.whee.myAPP" />
So what should I do in Android Studio? Such as setting in build.gradle defaultConfig { minSdkVersion 16 targetSdkVersion 23 versionCode 1 versionName "1.0" testApplicationId "com.xx.autotest.myApp" testInstrumentationRunner "android.test.InstrumentationTestRunner" testHandleProfiling true testFunctionalTest true }
And anything else?
Thanks in advance.