public class FailFastListener extends 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) |
public FailFastListener(Stoppable stoppable)
public void onTestStart(org.testng.ITestResult result)
onTestStart
in interface org.testng.ITestListener
public void onTestSuccess(org.testng.ITestResult result)
onTestSuccess
in interface org.testng.ITestListener
public void onTestFailure(org.testng.ITestResult result)
onTestFailure
in interface org.testng.ITestListener
public void onTestSkipped(org.testng.ITestResult result)
onTestSkipped
in interface org.testng.ITestListener
public void onTestFailedButWithinSuccessPercentage(org.testng.ITestResult result)
onTestFailedButWithinSuccessPercentage
in interface org.testng.ITestListener
public void onStart(org.testng.ITestContext context)
onStart
in interface org.testng.ITestListener
public void onFinish(org.testng.ITestContext context)
onFinish
in interface org.testng.ITestListener
Copyright © 2004–2024 The Apache Software Foundation. All rights reserved.