Class XrayJsonReporter

java.lang.Object
app.getxray.xray.testng.listeners.XrayJsonReporter
All Implemented Interfaces:
org.testng.IExecutionListener, org.testng.IInvokedMethodListener, org.testng.IReporter, org.testng.ITestNGListener

public class XrayJsonReporter extends Object implements org.testng.IReporter, org.testng.IExecutionListener, org.testng.IInvokedMethodListener
  • Constructor Details

    • XrayJsonReporter

      public XrayJsonReporter()
  • Method Details

    • beforeInvocation

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

      public void generateReport(List<org.testng.xml.XmlSuite> xmlSuites, List<org.testng.ISuite> suites, String outputDirectory)
      Specified by:
      generateReport in interface org.testng.IReporter
    • onExecutionStart

      public void onExecutionStart()
      Specified by:
      onExecutionStart in interface org.testng.IExecutionListener
    • onExecutionFinish

      public void onExecutionFinish()
      Specified by:
      onExecutionFinish in interface org.testng.IExecutionListener
    • usePropertiesFile

      public void usePropertiesFile(String propertiesFile)
    • getConfig

      public XrayJsonReporterConfig getConfig()
      Specified by:
      getConfig in interface org.testng.IReporter