Annotation Type Repeat
Repeats randomized test case a given number of times. Repetitions can
start with a different seed (predictably derived from the first one) or
start from the same seed every time (useful to check if a given test is truly
predictable for a given seed or not).
-
Optional Element Summary
Optional ElementsModifier and TypeOptional ElementDescriptionint
Repeat this many iterations.boolean
Re-run all iterations with a constant seed.
-
Element Details
-
iterations
int iterationsRepeat this many iterations. Must be greater or equal 1.- Default:
1
-
useConstantSeed
boolean useConstantSeedRe-run all iterations with a constant seed. This may be helpful in checking if a given test is really predictably random.- Default:
false
-