Package org.testng
Interface IRetryAnalyzer
-
- All Known Implementing Classes:
DisabledRetryAnalyzer,RetryAnalyzerCount
public interface IRetryAnalyzerInterface to implement to be able to have a chance to retry a failed test.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleanretry(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.
-
-