Есть ли способ запустить одиночный тест внутри класса тестирования пользовательского интерфейса в Android из командной строки
//I can run all the tests with this command
$ adb shell am instrument -w -e class com.me.app.tests.Food.EatingTests com.me.app.dev.test/androidx.test.runner.AndroidJUnitRunner
// this is my test class
@RunWith(AndroidJUnit4.class)
public class EatingTests {
@Before
public void setup() throws Exception {}
}
@Test
@Priority1
public void eatApple() throws Exception {}
@Test
@Priority1
public void eatBanana() throws Exception {}
}
Есть ли способ запустить только eatApple () вместо запуска всего класса со всеми тестами (eatApple и eatBanana)