Package org.testng.reporters
Class XMLReporterConfig
- java.lang.Object
-
- org.testng.reporters.XMLReporterConfig
-
public class XMLReporterConfig extends Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
XMLReporterConfig.StackTraceLevels
-
Field Summary
-
Constructor Summary
Constructors Constructor Description XMLReporterConfig()
-
Method Summary
-
-
-
Field Detail
-
TAG_TEST
public static final String TAG_TEST
- See Also:
- Constant Field Values
-
TAG_TEST_METHOD
public static final String TAG_TEST_METHOD
- See Also:
- Constant Field Values
-
TAG_EXCEPTION
public static final String TAG_EXCEPTION
- See Also:
- Constant Field Values
-
TAG_MESSAGE
public static final String TAG_MESSAGE
- See Also:
- Constant Field Values
-
TAG_SHORT_STACKTRACE
public static final String TAG_SHORT_STACKTRACE
- See Also:
- Constant Field Values
-
TAG_FULL_STACKTRACE
public static final String TAG_FULL_STACKTRACE
- See Also:
- Constant Field Values
-
TAG_TESTNG_RESULTS
public static final String TAG_TESTNG_RESULTS
- See Also:
- Constant Field Values
-
TAG_SUITE
public static final String TAG_SUITE
- See Also:
- Constant Field Values
-
TAG_GROUPS
public static final String TAG_GROUPS
- See Also:
- Constant Field Values
-
TAG_GROUP
public static final String TAG_GROUP
- See Also:
- Constant Field Values
-
TAG_CLASS
public static final String TAG_CLASS
- See Also:
- Constant Field Values
-
TAG_METHOD
public static final String TAG_METHOD
- See Also:
- Constant Field Values
-
TAG_PARAMS
public static final String TAG_PARAMS
- See Also:
- Constant Field Values
-
TAG_PARAM
public static final String TAG_PARAM
- See Also:
- Constant Field Values
-
TAG_PARAM_VALUE
public static final String TAG_PARAM_VALUE
- See Also:
- Constant Field Values
-
TAG_REPORTER_OUTPUT
public static final String TAG_REPORTER_OUTPUT
- See Also:
- Constant Field Values
-
TAG_LINE
public static final String TAG_LINE
- See Also:
- Constant Field Values
-
TAG_ATTRIBUTES
public static final String TAG_ATTRIBUTES
- See Also:
- Constant Field Values
-
TAG_ATTRIBUTE
public static final String TAG_ATTRIBUTE
- See Also:
- Constant Field Values
-
ATTR_URL
public static final String ATTR_URL
- See Also:
- Constant Field Values
-
ATTR_NAME
public static final String ATTR_NAME
- See Also:
- Constant Field Values
-
ATTR_STATUS
public static final String ATTR_STATUS
- See Also:
- Constant Field Values
-
ATTR_DESC
public static final String ATTR_DESC
- See Also:
- Constant Field Values
-
ATTR_METHOD_SIG
public static final String ATTR_METHOD_SIG
- See Also:
- Constant Field Values
-
ATTR_GROUPS
public static final String ATTR_GROUPS
- See Also:
- Constant Field Values
-
ATTR_CLASS
public static final String ATTR_CLASS
- See Also:
- Constant Field Values
-
ATTR_TEST_INSTANCE_NAME
public static final String ATTR_TEST_INSTANCE_NAME
- See Also:
- Constant Field Values
-
ATTR_INDEX
public static final String ATTR_INDEX
- See Also:
- Constant Field Values
-
ATTR_IS_NULL
public static final String ATTR_IS_NULL
- See Also:
- Constant Field Values
-
ATTR_PACKAGE
public static final String ATTR_PACKAGE
- See Also:
- Constant Field Values
-
ATTR_STARTED_AT
public static final String ATTR_STARTED_AT
- See Also:
- Constant Field Values
-
ATTR_FINISHED_AT
public static final String ATTR_FINISHED_AT
- See Also:
- Constant Field Values
-
ATTR_DURATION_MS
public static final String ATTR_DURATION_MS
- See Also:
- Constant Field Values
-
ATTR_IS_CONFIG
public static final String ATTR_IS_CONFIG
- See Also:
- Constant Field Values
-
ATTR_DEPENDS_ON_METHODS
public static final String ATTR_DEPENDS_ON_METHODS
- See Also:
- Constant Field Values
-
ATTR_DEPENDS_ON_GROUPS
public static final String ATTR_DEPENDS_ON_GROUPS
- See Also:
- Constant Field Values
-
ATTR_DATA_PROVIDER
public static final String ATTR_DATA_PROVIDER
- See Also:
- Constant Field Values
-
TEST_PASSED
public static final String TEST_PASSED
- See Also:
- Constant Field Values
-
TEST_FAILED
public static final String TEST_FAILED
- See Also:
- Constant Field Values
-
TEST_SKIPPED
public static final String TEST_SKIPPED
- See Also:
- Constant Field Values
-
FF_LEVEL_NONE
public static final int FF_LEVEL_NONE
Indicates that no file fragmentation should be performed. This value indicates the XML generator to write all the results in one big file. Not recommended for large test suites.- See Also:
- Constant Field Values
-
FF_LEVEL_SUITE
public static final int FF_LEVEL_SUITE
Will cause the XML generator to create separate files for each of the suites. A separate directory will be generated for each suite having the name of the suite and containing asuite.xml
file that will be referenced in the main file with anurl
attribute- See Also:
- Constant Field Values
-
FF_LEVEL_SUITE_RESULT
public static final int FF_LEVEL_SUITE_RESULT
It behaves likeFF_LEVEL_SUITE
, except that it will also create a file for eachISuiteResult
- See Also:
- Constant Field Values
-
-
Method Detail
-
getFileFragmentationLevel
public int getFileFragmentationLevel()
-
setFileFragmentationLevel
public void setFileFragmentationLevel(int fileFragmentationLevel)
-
getStackTraceOutputMethod
@Deprecated public int getStackTraceOutputMethod()
Deprecated.- Please usegetStackTraceOutput()
instead.
-
getStackTraceOutput
public XMLReporterConfig.StackTraceLevels getStackTraceOutput()
-
setStackTraceOutput
public void setStackTraceOutput(XMLReporterConfig.StackTraceLevels stackTraceOutputMethod)
-
getStackTraceOutputLevelForPassedTests
public XMLReporterConfig.StackTraceLevels getStackTraceOutputLevelForPassedTests()
-
setStackTraceOutputMethod
@Deprecated public void setStackTraceOutputMethod(int stackTraceOutputMethod)
Deprecated.- Please usesetStackTraceOutput(StackTraceLevels)
instead.- Parameters:
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)
-
isGenerateDependsOnGroups
public boolean isGenerateDependsOnGroups()
-
setGenerateDependsOnGroups
public void setGenerateDependsOnGroups(boolean generateDependsOnGroups)
-
setGenerateTestResultAttributes
public void setGenerateTestResultAttributes(boolean generateTestResultAttributes)
-
isGenerateTestResultAttributes
public boolean isGenerateTestResultAttributes()
-
-