Class TextReport

java.lang.Object
com.codeborne.selenide.testng.TextReport
All Implemented Interfaces:
org.testng.IInvokedMethodListener, org.testng.ITestNGListener

public class TextReport extends Object implements org.testng.IInvokedMethodListener
Reports for all method of annotated class in the suite. Annotate test classes to be reported with @Listeners({TextReport.class}). Child classes inherit @Listeners({TextReport.class}) from parent classes.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static boolean
     
    static boolean
     
    protected SimpleReport
     
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    afterInvocation(org.testng.IInvokedMethod method, org.testng.ITestResult testResult)
     
    void
    beforeInvocation(org.testng.IInvokedMethod method, org.testng.ITestResult testResult)
     

    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

    Methods inherited from interface org.testng.ITestNGListener

    isEnabled
  • Field Details

    • report

      protected SimpleReport report
    • onFailedTest

      public static boolean onFailedTest
    • onSucceededTest

      public static boolean onSucceededTest
  • Constructor Details

    • TextReport

      public TextReport()
  • Method Details

    • beforeInvocation

      public void beforeInvocation(org.testng.IInvokedMethod method, org.testng.ITestResult testResult)
      Specified by:
      beforeInvocation in interface org.testng.IInvokedMethodListener
    • afterInvocation

      public void afterInvocation(org.testng.IInvokedMethod method, org.testng.ITestResult testResult)
      Specified by:
      afterInvocation in interface org.testng.IInvokedMethodListener