@Target(value={ANNOTATION_TYPE,METHOD}) @Retention(value=RUNTIME) public @interface RepeatedTest
@RepeatedTest is used to signal that the annotated method is a
test template method that should be repeated a specified number of times.
Each invocation of the repeated test behaves like the execution of a regular
@Test method with full support for the same lifecycle callbacks
and extensions.
@RepeatedTest methods must not be private or static
and must return void.
@RepeatedTest may also be used as a meta-annotation in order to
create a custom composed annotation that inherits the semantics of
@RepeatedTest.
Test| Modifier and Type | Required Element and Description |
|---|---|
int |
value
The number of repetitions.
|