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.

Author:
[email protected] (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.


Copyright © 2010. All Rights Reserved.