Class ExceptionsReporter

  • All Implemented Interfaces:
    org.testng.ITestListener, org.testng.ITestNGListener

    public class ExceptionsReporter
    extends java.lang.Object
    implements org.testng.ITestListener
    TestNG extension that takes care of reporting failed assertions.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void onTestFailure​(org.testng.ITestResult result)
      Report thrown exceptions after test execution.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface org.testng.ITestListener

        onFinish, onStart, onTestFailedButWithinSuccessPercentage, onTestFailedWithTimeout, onTestSkipped, onTestStart, onTestSuccess
    • Constructor Detail

      • ExceptionsReporter

        public ExceptionsReporter()
    • Method Detail

      • onTestFailure

        public void onTestFailure​(org.testng.ITestResult result)
        Report thrown exceptions after test execution.
        Specified by:
        onTestFailure in interface org.testng.ITestListener
        Parameters:
        result - TestNG test result.