mercredi 27 avril 2016

android uiautomator how to manage test method order

I am in the process of impelementing unit test via uiautomator. Right now i am facing the issue that i couldn`t manage test method order. Please help me how can i manage test methods sequence of running. It is not working by sequence of methods. Thanks in advance.

@Test
public void firstTest() {
    Log.i("Tage", "simpleTest");
    assertEquals(1, 1);
}

@Test
public void secondTest() {
    Log.i("Tage", "simpleTest");
    assertEquals(false, false);
}

@Test
public void thirdTest() {
    Log.i("Tage", "simpleTest");
    assertEquals(true, true);
}

Aucun commentaire:

Enregistrer un commentaire