Package org.testng

Interface IExecutionListener

  • All Superinterfaces:
    ITestNGListener

    public interface IExecutionListener
    extends ITestNGListener
    A listener used to monitor when a TestNG run starts and ends. When implementation of this listener is wired into TestNG, TestNG will ensure that
    • onExecutionStart() gets invoked before TestNG proceeds with invoking any other listener.
    • onExecutionFinish() gets invoked at the very last (after report generation phase), before TestNG exits the JVM.
    • Method Detail

      • onExecutionStart

        default void onExecutionStart()
        Invoked before the TestNG run starts.
      • onExecutionFinish

        default void onExecutionFinish()
        Invoked once all the suites have been run.