Code example for TestSuiteBuilder

0
 *   com.example.android.apis.tests/android.test.InstrumentationTestRunner 
 */ 
public class AllTests extends TestSuite {
 
    public static Test suite() {
        return new TestSuiteBuilder(AllTests.class)
                .includeAllPackagesUnderHere()
                .build();
    } 
}