Package org.testng
Interface IExecutionListener
- All Superinterfaces:
ITestNGListener
- All Known Implementing Classes:
ExitCodeListener
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 Summary
Modifier and TypeMethodDescriptiondefault void
Invoked once all the suites have been run.default void
Invoked before the TestNG run starts.
-
Method Details
-
onExecutionStart
default void onExecutionStart()Invoked before the TestNG run starts. -
onExecutionFinish
default void onExecutionFinish()Invoked once all the suites have been run.
-