Class TestRunListener

java.lang.Object
org.opengis.cite.gpkg12.TestRunListener
All Implemented Interfaces:
org.testng.IExecutionListener, org.testng.ITestNGListener

public class TestRunListener extends Object implements org.testng.IExecutionListener
A listener that is invoked before and after a test run. It is often used to configure a shared fixture that endures for the duration of the entire test run. A FixtureManager may be used to manage such a fixture.

A shared fixture should be used with caution in order to avoid undesirable test interactions. In general, it should be populated with "read-only" objects that are not modified during the test run.

See Also:
  • FixtureManager
  • Constructor Details

    • TestRunListener

      public TestRunListener()
  • Method Details

    • onExecutionStart

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

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