I want to set test cases in queue. Now they runs by alphabetic queue in Run Congiguration: Android Tests, but how to set Robotium test priority?
For example I want to run at first testSecond
, and only then testFirst
, how to configure that?
public void setUp() throws Exception {
super.setUp();
solo = new Solo(getInstrumentation());
getActivity();
}
@Override
public void tearDown() throws Exception {
solo.finishOpenedActivities();
super.tearDown();
}
public void testFirst() {}
public void testSecond() {}
The priority is based on the characters. In other words, it runs from A to Z.