Class LogTestDurationListener

  • All Implemented Interfaces:
    org.testng.IClassListener, org.testng.IExecutionListener, org.testng.IInvokedMethodListener, org.testng.ITestNGListener

    public class LogTestDurationListener
    extends Object
    implements org.testng.IExecutionListener, org.testng.IClassListener, org.testng.IInvokedMethodListener
    • Constructor Detail

      • LogTestDurationListener

        public LogTestDurationListener()
    • Method Detail

      • onExecutionStart

        public void onExecutionStart()
        Specified by:
        onExecutionStart in interface org.testng.IExecutionListener
      • onExecutionFinish

        public void onExecutionFinish()
        Specified by:
        onExecutionFinish in interface org.testng.IExecutionListener
      • onBeforeClass

        public void onBeforeClass​(org.testng.ITestClass testClass)
        Specified by:
        onBeforeClass in interface org.testng.IClassListener
      • onAfterClass

        public void onAfterClass​(org.testng.ITestClass testClass)
        Specified by:
        onAfterClass in interface org.testng.IClassListener
      • beforeInvocation

        public void beforeInvocation​(org.testng.IInvokedMethod method,
                                     org.testng.ITestResult testResult)
        Specified by:
        beforeInvocation in interface org.testng.IInvokedMethodListener
      • afterInvocation

        public void afterInvocation​(org.testng.IInvokedMethod method,
                                    org.testng.ITestResult testResult)
        Specified by:
        afterInvocation in interface org.testng.IInvokedMethodListener