RobotiumTech / robotium

Android UI Testing
http://www.robotium.org
Apache License 2.0
2.86k stars 786 forks source link

Robotium with Android Studio #833

Open jeffl3ung opened 8 years ago

jeffl3ung commented 8 years ago

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.

zsmjluo commented 7 years ago

I have the same question。。。。

objectBoolean commented 7 years ago

I have the same question。。。。