org.testng
Interface IRetryAnalyzer


public interface IRetryAnalyzer

Interface to implement to be able to have a chance to retry a failed test.

Author:
tocman@gmail.com (Jeremie Lenfant-Engelmann)

Method Summary
 boolean retry(ITestResult result)
          Returns true if the test method has to be retried, false otherwise.
 

Method Detail

retry

boolean retry(ITestResult result)
Returns true if the test method has to be retried, false otherwise.

Parameters:
result - The result of the test method that just ran.
Returns:
true if the test method has to be retried, false otherwise.