org.testng.reporters
Class SuiteHTMLReporter

java.lang.Object  extended by org.testng.reporters.SuiteHTMLReporter
All Implemented Interfaces:
IReporter, ITestNGListener

public class SuiteHTMLReporter
extends Object
implements IReporter

This class implements an HTML reporter for suites.

Author:
cbeust, Alexandru Popescu


Field Summary
static StringAFTER
          Generate information about the methods that were run
static StringBEFORE
           
static StringCLASSES
           
static StringGROUPS
           
static StringMETHODS_ALPHABETICAL
           
static StringMETHODS_CHRONOLOGICAL
           
static StringMETHODS_NOT_RUN
           
static StringREPORTER_OUTPUT
           
static StringTESTNG_XML
           
 
Constructor Summary
SuiteHTMLReporter()
           
 
Method Summary
protected  StringgenerateOutputDirectoryName(String outputDirectory)
          Overridable by subclasses to create different directory names (e.g.
 voidgenerateReport(List<XmlSuite> xmlSuites, List<ISuite> suites, String outputDirectory)
          Generate a report for the given suites into the specified output directory.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

METHODS_CHRONOLOGICAL

public static final String METHODS_CHRONOLOGICAL
See Also:
Constant Field Values

METHODS_ALPHABETICAL

public static final String METHODS_ALPHABETICAL
See Also:
Constant Field Values

GROUPS

public static final String GROUPS
See Also:
Constant Field Values

CLASSES

public static final String CLASSES
See Also:
Constant Field Values

REPORTER_OUTPUT

public static final String REPORTER_OUTPUT
See Also:
Constant Field Values

METHODS_NOT_RUN

public static final String METHODS_NOT_RUN
See Also:
Constant Field Values

TESTNG_XML

public static final String TESTNG_XML
See Also:
Constant Field Values

AFTER

public static final String AFTER
Generate information about the methods that were run

See Also:
Constant Field Values


BEFORE

public static final String BEFORE
See Also:
Constant Field Values
Constructor Detail

SuiteHTMLReporter

public SuiteHTMLReporter()
Method Detail

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.

Specified by:
generateReport in interface IReporter

generateOutputDirectoryName

protected String generateOutputDirectoryName(String outputDirectory)
Overridable by subclasses to create different directory names (e.g. with timestamps).

Parameters:
outputDirectory - the output directory specified by the user


Copyright © 2012. All Rights Reserved.


NOTHING
NOTHING
Add the Maven Dependecy to your project: maven dependecy for com.amazonaws : aws-java-sdk : 1.3.14