|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.objectwave.test.TestRunner
Hide the details of the JUnit test framework. This level of indirection will allow the development of and integration with new test frameworks without changing the system under test.
Constructor Summary | |
TestRunner()
|
Method Summary | |
void |
add(UnitTest testFactory)
Assemble a list of tests from the provided testFactory. |
int |
countTestCases()
|
static junit.framework.TestSuite |
createSuite(UnitTest unitTestFactory)
Use reflection to create all of the tests. |
int |
run()
Main processing method for the TestRunner object |
static void |
run(UnitTest unitTestFactory,
java.lang.String[] args)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public TestRunner()
Method Detail |
public static junit.framework.TestSuite createSuite(UnitTest unitTestFactory)
unitTestFactory
- The object from which all public "test" methods will
be identified.
public static void run(UnitTest unitTestFactory, java.lang.String[] args)
unitTestFactory
- The object from which all public "test" methods will
be identified.args
- public void add(UnitTest testFactory)
testFactory
- public int run()
public int countTestCases()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |