Package com.atlassian.jira.functest.rule
Class RerunIfFailedGlobalRule
java.lang.Object
com.atlassian.jira.functest.rule.RerunIfFailedGlobalRule
- All Implemented Interfaces:
org.junit.rules.TestRule
Reruns failed tests.
Works on a global level (is not controlled via an annotation).
The rerunning mechanism can be disabled by setting disableRerunIfFailedGlobalRule system property.
- Since:
- v8.5
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionorg.junit.runners.model.Statement
apply
(org.junit.runners.model.Statement base, org.junit.runner.Description description)
-
Field Details
-
DEFAULT_MAX_RETRIES
public static final int DEFAULT_MAX_RETRIES- See Also:
-
-
Constructor Details
-
RerunIfFailedGlobalRule
public RerunIfFailedGlobalRule()
-
-
Method Details
-
apply
public org.junit.runners.model.Statement apply(org.junit.runners.model.Statement base, org.junit.runner.Description description) - Specified by:
apply
in interfaceorg.junit.rules.TestRule
-