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:

  1. ./ gradlew installDebugAndroidTest
  2. ADB Shell as Instrument- w-e class com.example.MyInstrumentationTest # testFoo com.example.test / android.support.test.runner .AndroidJUnitRunner


Comments

Popular posts from this blog

php - how to change mysql_result($res, 0, "url"); to mysqli -

c# - How to clone a HttpRequestMessage when the original request has Content? -

split - php explode string with Uppercase if lowercase letter exists before it without space -