write a test suite that includes your tests, for example
public static Test suite(){
TestSuite suite = new TestSuite();
suite.addTest(new BookTest("testEquals"));
suite.addTest(new BookTest("testBookAdd"));
return suite;
}
and run this package instead of single tests. See this tutorial for more details .
source
share