Top Description Constructors Methods
org.testng.reporters

public Class XMLReporter

extends AbstractXmlReporter
Class Inheritance
Imports
java.util.List, .Properties, org.testng.ISuite, 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.
Inherited from org.testng.reporters.AbstractXmlReporter:
addCustomTagsForcomputeCountForSuitefileNamegetConfigsetDurationAttributeswriteReporterOutputwriteReporterOutputwriteSuitewriteSummaryCount

Constructor Detail

XMLReporterback to summary
public XMLReporter()

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