Top Description Methods
org.testng

public Interface IRetryAnalyzer

Known Direct Implementers
org.testng.util.RetryAnalyzerCount, org.testng.internal.annotations.DisabledRetryAnalyzer

Interface to implement to be able to have a chance to retry a failed test.
Author
[email protected] (Jeremie Lenfant-Engelmann)

Method Summary

Modifier and TypeMethod and Description
public boolean

Returns:

true if the test method has to be retried, false otherwise.
retry
(ITestResult
The result of the test method that just ran.
result
)

Returns true if the test method has to be retried, false otherwise.

Method Detail

retryback to summary
public boolean retry(ITestResult result)

Returns true if the test method has to be retried, false otherwise.

Parameters
result:ITestResult

The result of the test method that just ran.

Returns:boolean

true if the test method has to be retried, false otherwise.