net.cscott.jdoctest
Class RerunJDoctests
java.lang.Object
net.cscott.jdoctest.JsJUnitTestBridge
net.cscott.jdoctest.RerunJDoctests
public class RerunJDoctests
- extends JsJUnitTestBridge
This is a JUnit test which re-runs all of the doctests emitted by JDoctest.
Set the 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.)
- Author:
- C. Scott Ananian
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RerunJDoctests
public RerunJDoctests(String testFile)
listTests
public static Collection<Object[]> listTests()
- Reimplement this in your subclass to change the test directory.
listTests
public static Collection<Object[]> listTests(String testDir)
- List all the javascript tests found beneath the given directory.
Copyright © 2009 C. Scott Ananian