how to create a robotium testsuite?

后端 未结 3 1486
有刺的猬
有刺的猬 2021-01-21 03:49

with the code below, the tests are not executed in the order I\'d like. test_homescreen is executed before test_splashscreen.

I\'d like to specify the tests to run and t

3条回答
  •  清酒与你
    2021-01-21 04:47

    you can name you test cases like this:

    public void test1_whatever()....

    public void test3_other()...

    public void test2_mytest()...

    and when you run them the order will be:

    test1_whatever()

    test2_mytest()

    test3_other()

提交回复
热议问题