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

org.testng.IRetryAnalyzer Maven / Gradle / Ivy

There is a newer version: 7.10.1
Show newest version
package org.testng;

/**
 * Interface to implement to be able to have a chance to retry a failed test.
 *
 * @author [email protected] (Jeremie Lenfant-Engelmann)
 */
public interface IRetryAnalyzer {

  /**
   * Returns true if the test method has to be retried, false otherwise.
   *
   * @param result The result of the test method that just ran.
   * @return true if the test method has to be retried, false otherwise.
   */
  boolean retry(ITestResult result);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy