Package org.testng.reporters
Class SuiteHTMLReporter
java.lang.Object
org.testng.reporters.SuiteHTMLReporter
- All Implemented Interfaces:
IReporter
,ITestNGListener
This class implements an HTML reporter for suites.
- Author:
- cbeust, Alexandru Popescu
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected String
generateOutputDirectoryName
(String outputDirectory) Overridable by subclasses to create different directory names (e.g.void
Generate a report for the given suites into the specified output directory.
-
Field Details
-
METHODS_CHRONOLOGICAL
- See Also:
-
METHODS_ALPHABETICAL
- See Also:
-
GROUPS
- See Also:
-
CLASSES
- See Also:
-
REPORTER_OUTPUT
- See Also:
-
METHODS_NOT_RUN
- See Also:
-
TESTNG_XML
- See Also:
-
AFTER
Generate information about the methods that were run- See Also:
-
BEFORE
- See Also:
-
-
Constructor Details
-
SuiteHTMLReporter
public SuiteHTMLReporter()
-
-
Method Details
-
generateReport
Description copied from interface:IReporter
Generate a report for the given suites into the specified output directory.- Specified by:
generateReport
in interfaceIReporter
- Parameters:
xmlSuites
- The list ofXmlSuite
suites
- The list ofISuite
outputDirectory
- The output directory
-
generateOutputDirectoryName
Overridable by subclasses to create different directory names (e.g. with timestamps).- Parameters:
outputDirectory
- the output directory specified by the user- Returns:
- the name of the output directory of the report
-