TestCase?
import junit.framework.TestCase; public class Hoge extends TestCase {
protected void setUp() { }
protected void tearDown() { }
package test; import junit.framework.Test; import junit.framework.TestSuite; public class AllTests { public static Test suite() { TestSuite suite = new TestSuite("Test for test"); //$JUnit-BEGIN$ suite.addTestSuite(Hoge.class); //$JUnit-END$ return suite; } }
http://cobertura.sourceforge.net http://www-06.ibm.com/jp/developerworks/java/050527/j_j-cobertura.html