Interface TestNGSuiteListener

    • Method Summary

      All Methods Instance Methods Default Methods 
      Modifier and Type Method Description
      default void afterSuite​(org.testng.ITestContext testContext)
      Runs tasks after test suite.
      default void beforeSuite​(org.testng.ITestContext testContext)
      Runs tasks before test suite.
    • Method Detail

      • beforeSuite

        @BeforeSuite(alwaysRun=true)
        default void beforeSuite​(org.testng.ITestContext testContext)
        Runs tasks before test suite.
        Parameters:
        testContext - the test context.
        Throws:
        Exception - on error.
      • afterSuite

        @AfterSuite(alwaysRun=true)
        default void afterSuite​(org.testng.ITestContext testContext)
        Runs tasks after test suite.
        Parameters:
        testContext - the test context.