Top Description Constructors Methods
org.testng.reporters

public Class PerSuiteXMLReporter

extends AbstractXmlReporter
Class Inheritance
Imports
java.util.HashSet, .List, .Properties, .Set, java.util.stream.Collectors, org.testng.ISuite, .ISuiteResult, .ITestContext, .ITestResult, .Reporter, org.testng.internal.Utils, org.testng.xml.XmlSuite

The main entry for the XML generation operation

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public void
generateReport(List<XmlSuite>
The list of XmlSuite
xmlSuites
,
List<ISuite>
The list of ISuite
suites
,
String
The output directory
outputDirectory
)

Overrides default org.testng.IReporter.generateReport.

Generate a report for the given suites into the specified output directory.
private List<String>
getOutput(ISuite iSuite)

private Set<ITestResult>
Inherited from org.testng.reporters.AbstractXmlReporter:
addCustomTagsForcomputeCountForSuitefileNamegetConfigsetDurationAttributeswriteReporterOutputwriteReporterOutputwriteSuitewriteSummaryCount

Constructor Detail

PerSuiteXMLReporterback to summary
public PerSuiteXMLReporter()

Method Detail

generateReportback to summary
public void generateReport(List<XmlSuite> xmlSuites, List<ISuite> suites, String outputDirectory)

Overrides default org.testng.IReporter.generateReport.

Doc from org.testng.IReporter.generateReport.

Generate a report for the given suites into the specified output directory.

Parameters
xmlSuites:List<XmlSuite>

The list of XmlSuite

suites:List<ISuite>

The list of ISuite

outputDirectory:String

The output directory

Annotations
@Override
getOutputback to summary
private List<String> getOutput(ISuite iSuite)
resultsback to summary
private Set<ITestResult> results(ITestContext context)