All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.testng.IExecutionListener Maven / Gradle / Ivy

There is a newer version: 7.10.1
Show newest version
package org.testng;

/**
 * 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
 *
 * 
    *
  • {@link IExecutionListener#onExecutionStart()} gets invoked before TestNG proceeds with * invoking any other listener. *
  • {@link IExecutionListener#onExecutionFinish()} gets invoked at the very last (after report * generation phase), before TestNG exits the JVM. *
* * @author Cedric Beust */ public interface IExecutionListener extends ITestNGListener { /** Invoked before the TestNG run starts. */ default void onExecutionStart() { // not implemented } /** Invoked once all the suites have been run. */ default void onExecutionFinish() { // not implemented } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy