Running espresso tests after proguard
1 answer
Assuming you are running the APK using the standard mechanisms built into the Android Gradle build system (setting "minifyEnabled true" for a specific buildType) you can test your "proguarded" APK by setting testBuildType as described here and run your connectedAndroidTest task as usually.
For example, if your 'release' buildType was set to walk against it, you added the following to your Gradle file:
android {
testBuildType "release"
}
+4
source to share