Jenkins and Running AndroidJUnitRunner Instrumentation Tests Jenkins and Running AndroidJUnitRunner Instrumentation Tests jenkins jenkins

Jenkins and Running AndroidJUnitRunner Instrumentation Tests


Try tell jenkins to run "gradle connectedAndroidTest" task


You can also do the preparation steps for connectedAndroidTest which is

./gradlew installDebug installDebugAndroidTest

Then your test package and the AndroidJUnitRunner should show up when you do pm list instrumentation. Might be helpful when later on when you have a larger test suite and you want to invoke am instrument command with more options (like specifying test size).