Annotation Type Repeat


@Retention(RUNTIME) @Target(METHOD) public @interface Repeat
A Custom Test annotation used to repeat a troublesome test multiple times when attempting to reproduce an intermittent failure.
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    int
     
    boolean
     
  • Element Details

    • repetitions

      int repetitions
      Default:
      1
    • untilFailure

      boolean untilFailure
      Default:
      false