|
|||||||||||
PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES |
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. |
The GroboUtils JUnit Extention: classes to help in the creation and execution of JUnit tests.
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.
|
|||||||||||
PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES |