Class FailureRerunnerJson

java.lang.Object
net.serenitybdd.junit.runners.FailureRerunnerJson
All Implemented Interfaces:
FailureRerunner

public class FailureRerunnerJson extends Object implements FailureRerunner
  • Constructor Details

    • FailureRerunnerJson

      public FailureRerunnerJson(net.thucydides.model.webdriver.Configuration configuration)
  • Method Details

    • recordFailedTests

      public void recordFailedTests(Map<String,List<String>> failedTests)
      Description copied from interface: FailureRerunner
      Stores failed tests.
      Specified by:
      recordFailedTests in interface FailureRerunner
      Parameters:
      failedTests - map keys are class names, values lists with failed method names
    • hasToRunTest

      public boolean hasToRunTest(String className, String methodName)
      Description copied from interface: FailureRerunner
      Returns true if a test given by className and method name has to be run.
      Specified by:
      hasToRunTest in interface FailureRerunner
      Parameters:
      className -
      methodName -