Package net.serenitybdd.junit.runners
Interface FailureRerunner
- All Known Implementing Classes:
FailureRerunnerJson
public interface FailureRerunner
-
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.
-
Method Details
-
recordFailedTests
Stores failed tests.- Parameters:
failedTests- map keys are class names, values lists with failed method names
-
hasToRunTest
Returns true if a test given by className and method name has to be run.- Parameters:
className-methodName-
-