public class RepeatTestRule extends Object implements org.junit.rules.TestRule
TestRule to repeat a test for a specified number of times. If "count" <= 0, the test is not run.
For example,
{@code| Modifier and Type | Class and Description |
|---|---|
static interface |
RepeatTestRule.Repeat |
| Constructor and Description |
|---|
RepeatTestRule() |
| Modifier and Type | Method and Description |
|---|---|
org.junit.runners.model.Statement |
apply(org.junit.runners.model.Statement base,
org.junit.runner.Description description) |
Copyright © 2021 The Apache Software Foundation. All rights reserved.