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
Add the annotation @FixMethodOrder(MethodSorters.NAME_ASCENDING) on top of the class name and name the methods in ascending order.
Please see the below links. The answer is there to achieve your need.
https://stackoverflow.com/a/41198659/4675067
https://stackoverflow.com/a/34456810/4675067