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

ios - Adding an SKSpriteNode to SKScene from a child SKSpriteNode -

Matlab transpose a table vector -

c# - Textbox not clickable but editable -