go-junit-report/testdata/030-report.xml
2022-05-21 14:28:22 +01:00

109 lines
3.8 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<testsuites tests="17" failures="9">
<testsuite name="package/stdout" tests="17" failures="9" errors="0" id="0" hostname="hostname" time="0.001" timestamp="2022-01-01T00:00:00Z">
<properties>
<property name="go.version" value="1.0"></property>
</properties>
<testcase name="TestFailWithStdoutAndTestOutput" classname="package/stdout" time="0.000">
<failure message="Failed"><![CDATA[multi
line
stdout
single-line stdout
stdout_test.go:11: single-line error
stdout_test.go:12: multi
line
error]]></failure>
</testcase>
<testcase name="TestFailWithStdoutAndNoTestOutput" classname="package/stdout" time="0.000">
<failure message="Failed"><![CDATA[multi
line
stdout
single-line stdout]]></failure>
</testcase>
<testcase name="TestFailWithTestOutput" classname="package/stdout" time="0.000">
<failure message="Failed"><![CDATA[ stdout_test.go:22: single-line error
stdout_test.go:23: multi
line
error]]></failure>
</testcase>
<testcase name="TestFailWithNoTestOutput" classname="package/stdout" time="0.000">
<failure message="Failed"></failure>
</testcase>
<testcase name="TestPassWithStdoutAndTestOutput" classname="package/stdout" time="0.000">
<system-out><![CDATA[multi
line
stdout
single-line stdout
stdout_test.go:33: single-line info
stdout_test.go:34: multi
line
info]]></system-out>
</testcase>
<testcase name="TestPassWithStdoutAndNoTestOutput" classname="package/stdout" time="0.000">
<system-out><![CDATA[multi
line
stdout
single-line stdout]]></system-out>
</testcase>
<testcase name="TestPassWithTestOutput" classname="package/stdout" time="0.000">
<system-out><![CDATA[ stdout_test.go:43: single-line info
stdout_test.go:44: multi
line
info]]></system-out>
</testcase>
<testcase name="TestPassWithNoTestOutput" classname="package/stdout" time="0.000"></testcase>
<testcase name="TestSubtests" classname="package/stdout" time="0.000">
<failure message="Failed"></failure>
</testcase>
<testcase name="TestSubtests/TestFailWithStdoutAndTestOutput" classname="package/stdout" time="0.000">
<failure message="Failed"><![CDATA[multi
line
stdout
single-line stdout
stdout_test.go:11: single-line error
stdout_test.go:12: multi
line
error]]></failure>
</testcase>
<testcase name="TestSubtests/TestFailWithStdoutAndNoTestOutput" classname="package/stdout" time="0.000">
<failure message="Failed"><![CDATA[multi
line
stdout
single-line stdout]]></failure>
</testcase>
<testcase name="TestSubtests/TestFailWithTestOutput" classname="package/stdout" time="0.000">
<failure message="Failed"><![CDATA[ stdout_test.go:22: single-line error
stdout_test.go:23: multi
line
error]]></failure>
</testcase>
<testcase name="TestSubtests/TestFailWithNoTestOutput" classname="package/stdout" time="0.000">
<failure message="Failed"></failure>
</testcase>
<testcase name="TestSubtests/TestPassWithStdoutAndTestOutput" classname="package/stdout" time="0.000">
<system-out><![CDATA[multi
line
stdout
single-line stdout
stdout_test.go:33: single-line info
stdout_test.go:34: multi
line
info]]></system-out>
</testcase>
<testcase name="TestSubtests/TestPassWithStdoutAndNoTestOutput" classname="package/stdout" time="0.000">
<system-out><![CDATA[multi
line
stdout
single-line stdout]]></system-out>
</testcase>
<testcase name="TestSubtests/TestPassWithTestOutput" classname="package/stdout" time="0.000">
<system-out><![CDATA[ stdout_test.go:43: single-line info
stdout_test.go:44: multi
line
info]]></system-out>
</testcase>
<testcase name="TestSubtests/TestPassWithNoTestOutput" classname="package/stdout" time="0.000"></testcase>
<system-out><![CDATA[exit status 1]]></system-out>
</testsuite>
</testsuites>