Package com.aventstack.chaintest.plugins
Class ChainTestListener
java.lang.Object
com.aventstack.chaintest.plugins.ChainTestListener
- All Implemented Interfaces:
org.testng.IClassListener,org.testng.IExecutionListener,org.testng.IInvokedMethodListener,org.testng.ISuiteListener,org.testng.ITestListener,org.testng.ITestNGListener
public class ChainTestListener
extends Object
implements org.testng.IExecutionListener, org.testng.ISuiteListener, org.testng.IClassListener, org.testng.ITestListener, org.testng.IInvokedMethodListener
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidafterInvocation(org.testng.IInvokedMethod method, org.testng.ITestResult result, org.testng.ITestContext ctx) voidbeforeInvocation(org.testng.IInvokedMethod method, org.testng.ITestResult result) static voidstatic voidstatic voidstatic voidvoidonAfterClass(org.testng.ITestClass testClass) voidonBeforeClass(org.testng.ITestClass testClass) voidvoidvoidonFinish(org.testng.ISuite suite) voidonFinish(org.testng.ITestContext context) voidonStart(org.testng.ISuite suite) voidonStart(org.testng.ITestContext context) voidonTestFailedButWithinSuccessPercentage(org.testng.ITestResult result) voidonTestFailedWithTimeout(org.testng.ITestResult result) voidonTestFailure(org.testng.ITestResult result) voidonTestSkipped(org.testng.ITestResult result) voidonTestStart(org.testng.ITestResult result) voidonTestSuccess(org.testng.ITestResult result) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.testng.IInvokedMethodListener
afterInvocation, beforeInvocationMethods inherited from interface org.testng.ITestNGListener
isEnabled
-
Constructor Details
-
ChainTestListener
public ChainTestListener()
-
-
Method Details
-
log
-
embed
-
embed
-
embed
-
onExecutionStart
public void onExecutionStart()- Specified by:
onExecutionStartin interfaceorg.testng.IExecutionListener
-
onExecutionFinish
public void onExecutionFinish()- Specified by:
onExecutionFinishin interfaceorg.testng.IExecutionListener
-
onStart
public void onStart(org.testng.ISuite suite) - Specified by:
onStartin interfaceorg.testng.ISuiteListener
-
onFinish
public void onFinish(org.testng.ISuite suite) - Specified by:
onFinishin interfaceorg.testng.ISuiteListener
-
onBeforeClass
public void onBeforeClass(org.testng.ITestClass testClass) - Specified by:
onBeforeClassin interfaceorg.testng.IClassListener
-
onAfterClass
public void onAfterClass(org.testng.ITestClass testClass) - Specified by:
onAfterClassin interfaceorg.testng.IClassListener
-
beforeInvocation
public void beforeInvocation(org.testng.IInvokedMethod method, org.testng.ITestResult result) - Specified by:
beforeInvocationin interfaceorg.testng.IInvokedMethodListener
-
afterInvocation
public void afterInvocation(org.testng.IInvokedMethod method, org.testng.ITestResult result, org.testng.ITestContext ctx) - Specified by:
afterInvocationin interfaceorg.testng.IInvokedMethodListener
-
onStart
public void onStart(org.testng.ITestContext context) - Specified by:
onStartin interfaceorg.testng.ITestListener
-
onFinish
public void onFinish(org.testng.ITestContext context) - Specified by:
onFinishin interfaceorg.testng.ITestListener
-
onTestStart
public void onTestStart(org.testng.ITestResult result) - Specified by:
onTestStartin interfaceorg.testng.ITestListener
-
onTestSuccess
public void onTestSuccess(org.testng.ITestResult result) - Specified by:
onTestSuccessin interfaceorg.testng.ITestListener
-
onTestFailure
public void onTestFailure(org.testng.ITestResult result) - Specified by:
onTestFailurein interfaceorg.testng.ITestListener
-
onTestSkipped
public void onTestSkipped(org.testng.ITestResult result) - Specified by:
onTestSkippedin interfaceorg.testng.ITestListener
-
onTestFailedWithTimeout
public void onTestFailedWithTimeout(org.testng.ITestResult result) - Specified by:
onTestFailedWithTimeoutin interfaceorg.testng.ITestListener
-
onTestFailedButWithinSuccessPercentage
public void onTestFailedButWithinSuccessPercentage(org.testng.ITestResult result) - Specified by:
onTestFailedButWithinSuccessPercentagein interfaceorg.testng.ITestListener
-