All Downloads are FREE. Search and download functionalities are using the official Maven repository.

net.serenitybdd.junit.runners.FailureRerunner Maven / Gradle / Ivy

package net.serenitybdd.junit.runners;


import java.util.List;
import java.util.Map;

public interface FailureRerunner {

    /**
     * Stores failed tests.
     *
     * @param failedTests map keys are class names, values lists with failed method names
     */
    public void recordFailedTests(Map> failedTests);

    /**
     * Returns true if a test given by className and method name has to be run.
     * @param className
     * @param methodName
     */
    public boolean hasToRunTest(String className, String methodName);
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy