Annotation Type TestCaseOrdering


  • @Documented
    @Retention(RUNTIME)
    @Target(TYPE)
    @Inherited
    public @interface TestCaseOrdering
    Test case ordering. The returned comparator will be used for sorting all TestMethodAndParams entries, where method is the test method and params are potential parameters to the constructor for a given test (if ParametersFactory is used). The sort is stable with respect to the original (shuffled) order of test cases.
    • Required Element Summary

      Required Elements 
      Modifier and Type Required Element Description
      java.lang.Class<? extends java.util.Comparator<TestMethodAndParams>> value
      The comparator used to sort all test cases.