Class TestNGResultsParser
- java.lang.Object
-
- com.atlassian.bamboo.plugins.testresultparser.testng.TestNGResultsParser
-
@NotThreadSafe public class TestNGResultsParser extends 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
-
-
Constructor Summary
Constructors Constructor Description TestNGResultsParser()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description @NotNull List<TestResults>
getFailedTests()
@NotNull List<TestResults>
getSkippedTests()
@NotNull List<TestResults>
getSuccessfulTests()
void
parse(@NotNull InputStream inputStream)
void
parse(@NotNull Reader in)
-
-
-
Method Detail
-
parse
public void parse(@NotNull @NotNull InputStream inputStream) throws XMLStreamException
- Throws:
XMLStreamException
-
parse
public void parse(@NotNull @NotNull Reader in) throws XMLStreamException
- Throws:
XMLStreamException
-
getSuccessfulTests
@NotNull public @NotNull List<TestResults> getSuccessfulTests()
-
getFailedTests
@NotNull public @NotNull List<TestResults> getFailedTests()
-
getSkippedTests
@NotNull public @NotNull List<TestResults> getSkippedTests()
-
-