Test order with espresso

前端 未结 7 846
天涯浪人
天涯浪人 2021-01-01 10:20

Is there a way to set test running order in android?
I use Espresso framework and need to test a lot of activities and transitions between them. I want to write differen

7条回答
  •  独厮守ぢ
    2021-01-01 10:54

    You can add annotation as test runner fixture as shown here:

    @FixMethodOrder(MethodSorters.NAME_ASCENDING)
    

    just above class name

提交回复
热议问题