public class SpringRepeat
extends org.junit.runners.model.Statement
SpringRepeat is a custom JUnit 4.5+ Statement which adds
support for Spring's @Repeat annotation by repeating the
test for the specified number of times.evaluate()| Constructor and Description |
|---|
SpringRepeat(org.junit.runners.model.Statement next,
Method testMethod,
int repeat)
Constructs a new
SpringRepeat statement. |
| Modifier and Type | Method and Description |
|---|---|
void |
evaluate()
Invokes the next
statement in the execution chain for
the specified repeat count. |
protected static final Log logger
public SpringRepeat(org.junit.runners.model.Statement next,
Method testMethod,
int repeat)
SpringRepeat statement.next - the next Statement in the execution chaintestMethod - the current test methodrepeat - the configured repeat count for the current test methodRepeat.value()