Package spock.lang
Annotation Type RepeatUntilFailure
-
@Beta @Target(METHOD) @Retention(RUNTIME) public @interface RepeatUntilFailure
Repeats a feature until it fails or the maximum number of repetitions is reached.For parameterized features, all parameter sets are repeated.
This extension is only intended to aid in manual testing and debugging.
- Since:
- 2.3
-
-
Optional Element Summary
Optional Elements Modifier and Type Optional Element Description booleanignoreRestBehaves likeIgnoreRestis applied, skipping all other features.intmaxAttemptsThe maximum number of repetitions.
-
-
-
-
ignoreRest
boolean ignoreRest
Behaves likeIgnoreRestis applied, skipping all other features.- Default:
- true
-
-