Class PerSuiteXMLReporter

java.lang.Object
org.testng.reporters.AbstractXmlReporter
org.testng.reporters.PerSuiteXMLReporter
All Implemented Interfaces:
IReporter, ITestNGListener, ICustomizeXmlReport

public class PerSuiteXMLReporter extends AbstractXmlReporter
The main entry for the XML generation operation
  • Constructor Details

    • PerSuiteXMLReporter

      public PerSuiteXMLReporter()
  • Method Details

    • generateReport

      public void generateReport(List<XmlSuite> xmlSuites, List<ISuite> suites, String outputDirectory)
      Description copied from interface: IReporter
      Generate a report for the given suites into the specified output directory.
      Parameters:
      xmlSuites - The list of XmlSuite
      suites - The list of ISuite
      outputDirectory - The output directory
    • getOutput

      private List<String> getOutput(ISuite iSuite)
    • results

      private Set<ITestResult> results(ITestContext context)