java.lang.Object
io.helidon.microprofile.testing.testng.HelidonTestNgListener
All Implemented Interfaces:
org.testng.IClassListener, org.testng.ITestListener, org.testng.ITestNGListener

public class HelidonTestNgListener extends Object implements org.testng.IClassListener, org.testng.ITestListener
TestNG extension to support Helidon CDI container in tests.
  • Constructor Details

    • HelidonTestNgListener

      public HelidonTestNgListener()
  • Method Details

    • onBeforeClass

      public void onBeforeClass(org.testng.ITestClass iTestClass)
      Specified by:
      onBeforeClass in interface org.testng.IClassListener
    • onAfterClass

      public void onAfterClass(org.testng.ITestClass testClass)
      Specified by:
      onAfterClass in interface org.testng.IClassListener
    • onTestStart

      public void onTestStart(org.testng.ITestResult result)
      Specified by:
      onTestStart in interface org.testng.ITestListener
    • onTestFailure

      public void onTestFailure(org.testng.ITestResult iTestResult)
      Specified by:
      onTestFailure in interface org.testng.ITestListener
    • onTestSuccess

      public void onTestSuccess(org.testng.ITestResult iTestResult)
      Specified by:
      onTestSuccess in interface org.testng.ITestListener