@Target(value={METHOD,ANNOTATION_TYPE}) @Retention(value=RUNTIME) @Documented public @interface Repeat
Note that the scope of execution to be repeated includes execution of the
test method itself as well as any set up or tear down of
the test fixture. When used with the
SpringMethodRule
, the scope additionally includes
preparation of the test instance.
This annotation may be used as a meta-annotation to create custom composed annotations.
Timed
,
SpringJUnit4ClassRunner
,
SpringMethodRule
,
SpringRepeat
Modifier and Type | Optional Element and Description |
---|---|
int |
value
The number of times that the annotated test method should be repeated.
|