Tag: JUnit

JUnit test with dynamic number of tests

This can be done as follows in JUnit 3: public class XTest extends TestCase { public File file; public XTest(File file) { super(file.toString()); this.file = file; } public void testX() { fail(“Failed: ” + file); } } public class XTestSuite

Tagged with:
Top