com.atlassian.bamboo.plugins.testresultparser.testng
Class TestNGResultsParser
java.lang.Object
com.atlassian.bamboo.plugins.testresultparser.testng.TestNGResultsParser
@NotThreadSafe
public class TestNGResultsParser
- extends java.lang.Object
Currently the following XML paths are analyzed for data:
/testng-results
/testng-results/suite
/testng-results/suite/test
/testng-results/suite/test/class
/testng-results/suite/test/class/test-method
/testng-results/suite/test/class/test-method/params/param/value
/testng-results/suite/test/class/test-method/exception
/testng-results/suite/test/class/test-method/exception/full-stacktrace
/testng-results/suite/test/class/test-method/exception/message
/testng-results/suite/test/class/test-method/reporter-output/line
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TestNGResultsParser
public TestNGResultsParser()
parse
public void parse(@NotNull
java.io.InputStream inputStream)
throws javax.xml.stream.XMLStreamException
- Throws:
javax.xml.stream.XMLStreamException
getSuccessfulTests
@NotNull
public java.util.List<TestResults> getSuccessfulTests()
getFailedTests
@NotNull
public java.util.List<TestResults> getFailedTests()
getSkippedTests
@NotNull
public java.util.List<TestResults> getSkippedTests()
Copyright © 2014 Atlassian Software Systems Pty Ltd. All Rights Reserved.