diff options
Diffstat (limited to 'src/TestResultFormatter.kt')
-rw-r--r-- | src/TestResultFormatter.kt | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/TestResultFormatter.kt b/src/TestResultFormatter.kt index 8a5af9c..3a19444 100644 --- a/src/TestResultFormatter.kt +++ b/src/TestResultFormatter.kt @@ -30,6 +30,9 @@ class TestResultFormatter(private val writer: XMLStreamWriter) { testSuite.allTests.forEach { writeTestCase(it) } + writer.writeStartElement("system-out") + writer.writeCData(testSuite.otherOutput) + writer.writeEndElement() writer.writeEndElement() } @@ -45,6 +48,9 @@ class TestResultFormatter(private val writer: XMLStreamWriter) { for (fail in test.failures) { writeFailure(fail) } + writer.writeStartElement("system-out") + writer.writeCData(test.stdout) + writer.writeEndElement() writer.writeEndElement() } |