public class TestNGReporter extends Object implements org.testng.ITestListener, org.testng.ISuiteListener
RunListener.| Constructor and Description |
|---|
TestNGReporter(RunListener reportManager)
Constructs a new instance that will listen to
test updates from a
TestNG class instance. |
| Modifier and Type | Method and Description |
|---|---|
void |
onConfigurationFailure(org.testng.ITestResult result) |
void |
onConfigurationSkip(org.testng.ITestResult result) |
void |
onConfigurationSuccess(org.testng.ITestResult result) |
void |
onFinish(org.testng.ISuite suite) |
void |
onFinish(org.testng.ITestContext context) |
void |
onStart(org.testng.ISuite suite) |
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 TestNGReporter(RunListener reportManager)
TestNG class instance.
TestNG.addListener(ITestListener)
method call has already associated with this instance before the test
suite is run.reportManager - Instance to report suite status topublic 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.ITestListenerpublic void onStart(org.testng.ISuite suite)
onStart in interface org.testng.ISuiteListenerpublic void onFinish(org.testng.ISuite suite)
onFinish in interface org.testng.ISuiteListenerpublic void onConfigurationFailure(org.testng.ITestResult result)
public void onConfigurationSkip(org.testng.ITestResult result)
public void onConfigurationSuccess(org.testng.ITestResult result)
Copyright © 2004–2018 The Apache Software Foundation. All rights reserved.