All Packages Class Hierarchy This Package Previous Next Index
java.lang.Object | +----junit.textui.TestRunner
java test.testui.TestRunner [-wait] TestCaseClassTestRunner expects the name of a TestCase class as argument. If this class defines a static
suite
method it
will be invoked and the returned test is run. Otherwise all
the methods starting with "test" having no arguments are run.
When the wait command line argument is given TestRunner waits until the users types RETURN.
TestRunner prints a trace as the tests are executed followed by a summary at the end.
public TestRunner()
protected TextTestResult createTestResult()
protected void doRun(Test suite, boolean wait)
public static void main(String args[])
public static void run(Test suite)
public static void main (String[] args) { test.textui.TestRunner.run(suite()); }
public static void runAndWait(Test suite)
protected void start(String args[])
All Packages Class Hierarchy This Package Previous Next Index