Class RetryRule
- java.lang.Object
-
- com.atlassian.bamboo.testutils.junit.rule.RetryRule
-
- All Implemented Interfaces:
org.junit.rules.TestRule
public class RetryRule extends Object implements org.junit.rules.TestRule
Every use case of this rule should be considered twice before usage. This was created in order to deal with time-based unit tests, and it's a clear anti-pattern.
-
-
Constructor Summary
Constructors Constructor Description RetryRule(int retryCount)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.junit.runners.model.Statement
apply(org.junit.runners.model.Statement base, org.junit.runner.Description description)
-