All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class test.textui.TestRunner

java.lang.Object
   |
   +----test.textui.TestRunner

public class TestRunner
extends Object
A command line based tool to run tests. TestRunner expects as its only argument the name of a class with a suite method. The suite method should return a test to be run. TestRunner prints out a trace as the tests are executed followed by a summary at the end. Here is the synopsis:
  java test.testui.TestRunner [-wait] VectorTest
 


Constructor Index

 o TestRunner()

Method Index

 o main(String[])
 o run(Test)
Runs a single test and collects its results.

Constructors

 o TestRunner
 public TestRunner()

Methods

 o main
 public static void main(String argv[])
 o run
 public static void run(Test suite)
Runs a single test and collects its results. This method can be used to start a test run from your program.
 public static void main (String[] args) {
     test.textui.TestRunner.run(suite());
 }
 


All Packages  Class Hierarchy  This Package  Previous  Next  Index