Android Testing UI with Espresso suggest change

Group a collection of test classes in a test suite

You 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.

Feedback about page:

Feedback:
Optional: your email if you want me to get back to you:



Table Of Contents