public class RerunJDoctests extends JsJUnitTestBridge
net.cscott.jdoctest.output property when you emit your
javadoc, and stand-alone versions of your tests will be emitted into the
specified directory. Subclass this test class and (if your tests are not
in "api/tests") override the listTests() class to invoke
listTests(String) with the directory you set
net.cscott.jdoctest.output to. (Don't forget to make the
whole thing @RunWith(value=Parameterized.class) and tag your
overridden listTests() with the Parameters annotation.)testFile| Constructor and Description |
|---|
RerunJDoctests(java.lang.String testFile) |
| Modifier and Type | Method and Description |
|---|---|
static java.util.Collection<java.lang.Object[]> |
listTests()
Reimplement this in your subclass to change the test directory.
|
static java.util.Collection<java.lang.Object[]> |
listTests(java.lang.String testDir)
List all the javascript tests found beneath the given directory.
|
collectAllTests, collectTestsFor, main, runDoctest, runDoctest, runDoctest, runDoctestpublic static java.util.Collection<java.lang.Object[]> listTests()
public static java.util.Collection<java.lang.Object[]> listTests(java.lang.String testDir)
Copyright © 2009 C. Scott Ananian