Annotation Type TestFactory
-
@Target(METHOD) @Retention(RUNTIME) public @interface TestFactoryThis annotation can be added to a method in a JUnit test class. When executing the JUnit test suite, aFactoryRunnerthat 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 aListof Objects that have member methods that are annotated withFactoryTest.- Author:
- Ted Young