android instrumentation testsuite

Posted by siri on Stack Overflow See other posts from Stack Overflow or by siri
Published on 2010-04-13T15:49:26Z Indexed on 2010/04/13 15:53 UTC
Read the original article Hit count: 326

Filed under:
|
|

Hi I have written two test cases in a package com.app.myapp.test When I try to run them both of them are not getting executed, only one test case gets executed and stops.

I have written the following testsuite in the same package

AllTests.java

public class AllTests extends TestSuite {

public static Test suite() {
    return new TestSuiteBuilder(AllTests.class).includePackages("./src/com.ni.mypaint.test","./src/com.ni.mpaint.test").build();
           /* .includeAllPackagesUnderHere()
            .build();*/
}

Is the code and location for this testsuite is correct?

© Stack Overflow or respective owner

Related posts about android

Related posts about instrumentation