Package net.serenitybdd.junit.runners
Class FailureRerunnerJson
java.lang.Object
net.serenitybdd.junit.runners.FailureRerunnerJson
- All Implemented Interfaces:
FailureRerunner
-
Constructor Summary
ConstructorsConstructorDescriptionFailureRerunnerJson(net.thucydides.model.webdriver.Configuration configuration) -
Method Summary
Modifier and TypeMethodDescriptionbooleanhasToRunTest(String className, String methodName) Returns true if a test given by className and method name has to be run.voidrecordFailedTests(Map<String, List<String>> failedTests) Stores failed tests.
-
Constructor Details
-
FailureRerunnerJson
public FailureRerunnerJson(net.thucydides.model.webdriver.Configuration configuration)
-
-
Method Details
-
recordFailedTests
Description copied from interface:FailureRerunnerStores failed tests.- Specified by:
recordFailedTestsin interfaceFailureRerunner- Parameters:
failedTests- map keys are class names, values lists with failed method names
-
hasToRunTest
Description copied from interface:FailureRerunnerReturns true if a test given by className and method name has to be run.- Specified by:
hasToRunTestin interfaceFailureRerunner- Parameters:
className-methodName-
-