public class FailFastListener
extends java.lang.Object
implements org.testng.ITestListener
FailFastEventsSingleton that failure has appeared.| Constructor and Description |
|---|
FailFastListener(Stoppable stoppable) |
| Modifier and Type | Method and Description |
|---|---|
void |
onFinish(org.testng.ITestContext context) |
void |
onStart(org.testng.ITestContext context) |
void |
onTestFailedButWithinSuccessPercentage(org.testng.ITestResult result) |
void |
onTestFailure(org.testng.ITestResult result) |
void |
onTestSkipped(org.testng.ITestResult result) |
void |
onTestStart(org.testng.ITestResult result) |
void |
onTestSuccess(org.testng.ITestResult result) |
private final Stoppable stoppable
public FailFastListener(Stoppable stoppable)
public void onTestStart(org.testng.ITestResult result)
onTestStart in interface org.testng.ITestListenerpublic void onTestSuccess(org.testng.ITestResult result)
onTestSuccess in interface org.testng.ITestListenerpublic void onTestFailure(org.testng.ITestResult result)
onTestFailure in interface org.testng.ITestListenerpublic void onTestSkipped(org.testng.ITestResult result)
onTestSkipped in interface org.testng.ITestListenerpublic void onTestFailedButWithinSuccessPercentage(org.testng.ITestResult result)
onTestFailedButWithinSuccessPercentage in interface org.testng.ITestListenerpublic void onStart(org.testng.ITestContext context)
onStart in interface org.testng.ITestListenerpublic void onFinish(org.testng.ITestContext context)
onFinish in interface org.testng.ITestListener