Group a collection of test classes in a test suite
suggest changeYou can organize the execution of your instrumented unit tests defining a Suite.
/** * Runs all unit tests. */ @RunWith(Suite.class) @Suite.SuiteClasses({MyTest1.class , MyTest2.class, MyTest3.class}) public class AndroidTestSuite {}
Then in AndroidStudio you can run with gradle or setting a new configuration like:

Test suites can be nested.
Found a mistake? Have a question or improvement idea?
Let me know.
Table Of Contents