go-junit-report/testdata/030-report.xml
2022-03-27 23:55:59 +01:00

70 lines
3.0 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<testsuites tests="17" failures="9">
<testsuite name="package/name1" tests="17" failures="9" errors="0" hostname="hostname" time="4.567" timestamp="2022-01-01T00:00:00Z">
<properties>
<property name="go.version" value="1.0"></property>
</properties>
<testcase name="TestFailWithStdoutAndTestOutput" classname="package/name1" time="0.100">
<failure message="Failed"><![CDATA[multi
line
stdout
single-line stdout
example_test.go:13: single-line error
example_test.go:14: multi
line
error]]></failure>
</testcase>
<testcase name="TestFailWithStdoutAndNoTestOutput" classname="package/name1" time="0.150">
<failure message="Failed"><![CDATA[multi
line
stdout
single-line stdout]]></failure>
</testcase>
<testcase name="TestFailWithTestOutput" classname="package/name1" time="0.200">
<failure message="Failed"><![CDATA[example_test.go:26: single-line error
example_test.go:27: multi
line
error]]></failure>
</testcase>
<testcase name="TestFailWithNoTestOutput" classname="package/name1" time="0.250">
<failure message="Failed"></failure>
</testcase>
<testcase name="TestPassWithStdoutAndTestOutput" classname="package/name1" time="0.300"></testcase>
<testcase name="TestPassWithStdoutAndNoTestOutput" classname="package/name1" time="0.350"></testcase>
<testcase name="TestPassWithTestOutput" classname="package/name1" time="0.400"></testcase>
<testcase name="TestPassWithNoTestOutput" classname="package/name1" time="0.500"></testcase>
<testcase name="TestSubtests" classname="package/name1" time="2.270">
<failure message="Failed"></failure>
</testcase>
<testcase name="TestSubtests/TestFailWithStdoutAndTestOutput" classname="package/name1" time="0.100">
<failure message="Failed"><![CDATA[1 multi
line
stdout
1 single-line stdout
example_test.go:65: 1 single-line error
example_test.go:66: 1 multi
line
error]]></failure>
</testcase>
<testcase name="TestSubtests/TestFailWithStdoutAndNoTestOutput" classname="package/name1" time="0.150">
<failure message="Failed"><![CDATA[2 multi
line
stdout
2 single-line stdout]]></failure>
</testcase>
<testcase name="TestSubtests/TestFailWithTestOutput" classname="package/name1" time="0.200">
<failure message="Failed"><![CDATA[example_test.go:78: 3 single-line error
example_test.go:79: 3 multi
line
error]]></failure>
</testcase>
<testcase name="TestSubtests/TestFailWithNoTestOutput" classname="package/name1" time="0.250">
<failure message="Failed"></failure>
</testcase>
<testcase name="TestSubtests/TestPassWithStdoutAndTestOutput" classname="package/name1" time="0.300"></testcase>
<testcase name="TestSubtests/TestPassWithStdoutAndNoTestOutput" classname="package/name1" time="0.350"></testcase>
<testcase name="TestSubtests/TestPassWithTestOutput" classname="package/name1" time="0.400"></testcase>
<testcase name="TestSubtests/TestPassWithNoTestOutput" classname="package/name1" time="0.500"></testcase>
</testsuite>
</testsuites>