org.testng.IExecutionListener Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of testng Show documentation
Show all versions of testng Show documentation
A testing framework for the JVM
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.
*/
void onExecutionStart();
/**
* Invoked once all the suites have been run.
*/
void onExecutionFinish();
}