Class RerunIfFailedGlobalRule

java.lang.Object
com.atlassian.jira.functest.rule.RerunIfFailedGlobalRule
All Implemented Interfaces:
org.junit.rules.TestRule

public class RerunIfFailedGlobalRule extends Object implements 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 Details

  • 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 interface org.junit.rules.TestRule