|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||

java.lang.Objectorg.tap4j.ext.testng.SuiteTapReporter
public class SuiteTapReporter
A TestNG suite TAP reporter.
| Constructor Summary | |
|---|---|
SuiteTapReporter()
|
|
| Method Summary | |
|---|---|
protected String[] |
findInWhatGroupsMethodIs(org.testng.ITestNGMethod methodToFind,
Map<String,Collection<org.testng.ITestNGMethod>> groups)
Get all groups names that a Test Method is inclueded in |
void |
generateClasses(org.testng.xml.XmlSuite xmlSuite,
org.testng.ISuite suite)
Populate a List of ITestResults for every test Class in a test Suite |
void |
generateReport(List<org.testng.xml.XmlSuite> xmlSuites,
List<org.testng.ISuite> suites,
String outputDirectory)
|
protected void |
generateResultsMapForGroups(org.testng.xml.XmlSuite xmlSuite,
org.testng.ISuite suite,
Map<String,Collection<org.testng.ITestNGMethod>> groups)
Generate the results map for the groups |
protected void |
generateTAPPerGroup(List<org.testng.xml.XmlSuite> xmlSuites,
List<org.testng.ISuite> suites,
String outputDirectory)
Generate a TAP file for every group tested |
protected void |
generateTAPPerSuite(List<org.testng.xml.XmlSuite> xmlSuites,
List<org.testng.ISuite> suites,
String outputDirectory)
Generate a TAP file for every suite tested |
protected Set<Class<?>> |
getTestResultsSetPerSuite(org.testng.ISuite suite)
Get a Set of test Results for Suites by a given ISuite |
Integer |
getTotalTestResultsByTestSuite(Set<Class<?>> keySet)
Get total results from a test suite |
protected void |
populateTestResultsPerGroupMap(org.testng.ISuite suite,
Map<String,Collection<org.testng.ITestNGMethod>> groups)
Populate a Map of test Results for Groups by a given ISuite |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SuiteTapReporter()
| Method Detail |
|---|
public void generateReport(List<org.testng.xml.XmlSuite> xmlSuites,
List<org.testng.ISuite> suites,
String outputDirectory)
generateReport in interface org.testng.IReporter
protected void generateTAPPerSuite(List<org.testng.xml.XmlSuite> xmlSuites,
List<org.testng.ISuite> suites,
String outputDirectory)
xmlSuites - suites - outputDirectory -
protected void generateTAPPerGroup(List<org.testng.xml.XmlSuite> xmlSuites,
List<org.testng.ISuite> suites,
String outputDirectory)
xmlSuites - suites - outputDirectory - protected Set<Class<?>> getTestResultsSetPerSuite(org.testng.ISuite suite)
suite -
protected void populateTestResultsPerGroupMap(org.testng.ISuite suite,
Map<String,Collection<org.testng.ITestNGMethod>> groups)
suite - groups - public Integer getTotalTestResultsByTestSuite(Set<Class<?>> keySet)
keySet -
public void generateClasses(org.testng.xml.XmlSuite xmlSuite,
org.testng.ISuite suite)
xmlSuite - suite -
protected void generateResultsMapForGroups(org.testng.xml.XmlSuite xmlSuite,
org.testng.ISuite suite,
Map<String,Collection<org.testng.ITestNGMethod>> groups)
xmlSuite - suite - groups -
protected String[] findInWhatGroupsMethodIs(org.testng.ITestNGMethod methodToFind,
Map<String,Collection<org.testng.ITestNGMethod>> groups)
methodToFind - groups -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||