Class FailFastNotifier

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

    public class FailFastNotifier
    extends java.lang.Object
    implements org.testng.IInvokedMethodListener
    Notifies TestNG core skipping remaining tests after first failure has appeared.
    Since:
    2.19
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void afterInvocation​(org.testng.IInvokedMethod iInvokedMethod, org.testng.ITestResult iTestResult)  
      void beforeInvocation​(org.testng.IInvokedMethod iInvokedMethod, org.testng.ITestResult iTestResult)  
      • Methods inherited from class java.lang.Object

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

        afterInvocation, beforeInvocation
    • Constructor Detail

      • FailFastNotifier

        public FailFastNotifier()
    • Method Detail

      • beforeInvocation

        public void beforeInvocation​(org.testng.IInvokedMethod iInvokedMethod,
                                     org.testng.ITestResult iTestResult)
        Specified by:
        beforeInvocation in interface org.testng.IInvokedMethodListener
      • afterInvocation

        public void afterInvocation​(org.testng.IInvokedMethod iInvokedMethod,
                                    org.testng.ITestResult iTestResult)
        Specified by:
        afterInvocation in interface org.testng.IInvokedMethodListener