Annotation Type TestFactory
-
@Target(METHOD) @Retention(RUNTIME) public @interface TestFactory
This annotation can be added to a method in a JUnit test class. When executing the JUnit test suite, aFactoryRunner
that is hooked to the JUnit Test will use the annotated method to generate and add new JUnit to the test suite. The annotated Method has to return aList
of Objects that have member methods that are annotated withFactoryTest
.- Author:
- Ted Young