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(String testFile) |
Modifier and Type | Method and Description |
---|---|
static Collection<Object[]> |
listTests()
Reimplement this in your subclass to change the test directory.
|
static Collection<Object[]> |
listTests(String testDir)
List all the javascript tests found beneath the given directory.
|
collectAllTests, collectTestsFor, main, runDoctest, runDoctest, runDoctest, runDoctest
public RerunJDoctests(String testFile)
public static Collection<Object[]> listTests()
public static Collection<Object[]> listTests(String testDir)
Copyright © 2009 C. Scott Ananian