Annotation Type OrderWith


  • @Retention(RUNTIME)
    @Target(TYPE)
    @Inherited
    public @interface OrderWith
    When a test class is annotated with @OrderWith or extends a class annotated with @OrderWith, JUnit will order the tests in the test class (and child test classes, if any) using the ordering defined by the Ordering class.
    Since:
    4.13