Package org.testng
Interface IRetryAnalyzer
-
- All Known Implementing Classes:
RetryAnalyzerCount
public interface IRetryAnalyzer
Interface 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 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.
-
-