Package net.sourceforge.groboutils.junit.v1.parser

The GroboUtils JUnit Extention: classes to help in the creation and execution of JUnit tests.

See:
          Description

Interface Summary
ITestCreator Interface that can create test objects based on a class and a method from within that class, using a specific method.
 

Class Summary
DelegateTestCreator Allows for an ordered set of TestCreator instances to be queried for generating instances.
IftcOrigCreator Creates Interface test cases based on the original JUnit construction mechanism.
JUnit3_8Creator Emulates the JUnit 3.8+ construction mechanism.
JUnitOrigCreator Emulates the construction mechanism for all JUnit versions.
TestClassCreator Creates Test instances based on a TestClassParser.
TestClassParser Parses Test classes to discover the usable test methods.
 

Package net.sourceforge.groboutils.junit.v1.parser Description

The GroboUtils JUnit Extention: classes to help in the creation and execution of JUnit tests.

Overview

The TestClassParser combined with the TestClassCreator contains much of the logic that the JUnit class TestSuite contains. However, the parser is designed with extensibility in mind. Its sole purpose is to parse out test methods and create test instances.

The TestClassParser knows how to extract the test methods from a test class, while TestClassCreator knows how to create test instances from the parsed test class.

In order to support various means of instantiating test instances from a test class, the TestClassCreator depends upon instances of ITestCreator to perform the actual creation of the tests. The validation and TestSuite compilation is performed by the TestClassCreator.



Copyright © 2001-2003 by The GroboUtils Project