Annotation Type Repeat


@Retention(RUNTIME) @Target(METHOD) public @interface Repeat
Annotation enabling to run tests repeatedly
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
    int
    Number of repetitions
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    boolean
    Whether to abort execution on first test failure
  • Element Details

    • n

      int n
      Number of repetitions
    • abortOnFailure

      boolean abortOnFailure
      Whether to abort execution on first test failure
      Returns:
      true if execution should be aborted on the first failure, otherwise count failures and continue execution
      Since:
      5.1.9
      Default:
      true