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

com.nordstrom.automation.junit.JUnitRetryAnalyzer Maven / Gradle / Ivy

There is a newer version: 17.1.1
Show newest version
package com.nordstrom.automation.junit;

import org.junit.runners.model.FrameworkMethod;

/**
 * JUnit Foundation retry analyzers implement this interface. 
 */
public interface JUnitRetryAnalyzer {
    
    /**
     * Determine if the specified failed test should be retried.
     * 
     * @param method failed test method
     * @param thrown exception for this failed test
     * @return {@code true} if test should be retried; otherwise {@code false}
     */
    boolean retry(FrameworkMethod method, Throwable thrown);

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy