Package net.cscott.jdoctest
Class RerunJDoctests
java.lang.Object
net.cscott.jdoctest.RerunJDoctests
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. If your tests are not in "api/tests", subclass this
test class and override testDir() to return the directory you set
net.cscott.jdoctest.output to.- Author:
- C. Scott Ananian
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic Stream<org.junit.jupiter.api.DynamicTest> Returns a test for each javascript test found beneath the given directory.List all the javascript tests found beneath the given directory.Stream<org.junit.jupiter.api.DynamicTest> protected StringtestDir()Override this in your subclass to change the test directory.
-
Constructor Details
-
RerunJDoctests
public RerunJDoctests()
-
-
Method Details
-
testDir
Override this in your subclass to change the test directory. -
rerunDoctests
-
doctests
Returns a test for each javascript test found beneath the given directory. -
listTests
List all the javascript tests found beneath the given directory.
-