Class FailFastNotifier

java.lang.Object
org.apache.maven.surefire.testng.utils.FailFastNotifier
All Implemented Interfaces:
org.testng.IInvokedMethodListener, org.testng.ITestNGListener

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

    Constructors
    Constructor
    Description
     
  • Method Summary

    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 Details

    • FailFastNotifier

      public FailFastNotifier()
  • Method Details

    • 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