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, a FactoryRunner 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 a List of Objects that have member methods that are annotated with FactoryTest.
    Author:
    Ted Young