org.testng.reporters
Class XMLReporter
java.lang.Object
org.testng.reporters.XMLReporter
- All Implemented Interfaces:
- IReporter, ITestNGListener
public class XMLReporter
- extends Object
- implements IReporter
The main entry for the XML generation operation
- Author:
- Cosmin Marginean, Mar 16, 2007
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FILE_NAME
public static final String FILE_NAME
- See Also:
- Constant Field Values
XMLReporter
public XMLReporter()
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
addDurationAttributes
public static void addDurationAttributes(XMLReporterConfig config,
Properties attributes,
Date minStartDate,
Date maxEndDate)
- Add started-at, finished-at and duration-ms attributes to the tag
getFileFragmentationLevel
public int getFileFragmentationLevel()
setFileFragmentationLevel
public void setFileFragmentationLevel(int fileFragmentationLevel)
getStackTraceOutputMethod
public int getStackTraceOutputMethod()
setStackTraceOutputMethod
public void setStackTraceOutputMethod(int stackTraceOutputMethod)
getOutputDirectory
public String getOutputDirectory()
setOutputDirectory
public void setOutputDirectory(String outputDirectory)
isGenerateGroupsAttribute
public boolean isGenerateGroupsAttribute()
setGenerateGroupsAttribute
public void setGenerateGroupsAttribute(boolean generateGroupsAttribute)
isSplitClassAndPackageNames
public boolean isSplitClassAndPackageNames()
setSplitClassAndPackageNames
public void setSplitClassAndPackageNames(boolean splitClassAndPackageNames)
getTimestampFormat
public String getTimestampFormat()
setTimestampFormat
public void setTimestampFormat(String timestampFormat)
isGenerateDependsOnMethods
public boolean isGenerateDependsOnMethods()
setGenerateDependsOnMethods
public void setGenerateDependsOnMethods(boolean generateDependsOnMethods)
setGenerateDependsOnGroups
public void setGenerateDependsOnGroups(boolean generateDependsOnGroups)
isGenerateDependsOnGroups
public boolean isGenerateDependsOnGroups()
setGenerateTestResultAttributes
public void setGenerateTestResultAttributes(boolean generateTestResultAttributes)
isGenerateTestResultAttributes
public boolean isGenerateTestResultAttributes()
Copyright © 2012. All Rights Reserved.