testing - How can I run a single test with gradle android -
I'm trying to run a test with this line ... but it launches all the tests:
./ gradlew -connectedAndroidTest.single = Landing Activation Connect Connect Android Test How can I get a test?
You can run single Android tests in two steps:
-
./ gradlew installDebugAndroidTest -
ADB Shell as Instrument- w-e class com.example.MyInstrumentationTest # testFoo com.example.test / android.support.test.runner .AndroidJUnitRunner
Comments
Post a Comment