go-junit-report/testdata/012-report.xml
Joël Stemmer 7c195be87f Do not trim output whitespace prefix
Whitespace prefix of output lines was carried over from the old v1
version, but in some cases it removes too much whitespace. Ideally it
would detect the common prefix of all output lines for a given text and
only trim that. Until that's fixed, let's just stop removing the
whitespace.

Fixes #131
2022-05-13 21:01:49 +01:00

39 lines
2.3 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<testsuites tests="18" failures="3" skipped="2">
<testsuite name="package/name" tests="18" failures="3" errors="0" hostname="hostname" skipped="2" time="0.050" timestamp="2022-01-01T00:00:00Z">
<properties>
<property name="go.version" value="1.0"></property>
</properties>
<testcase name="TestOne" classname="package/name" time="0.010"></testcase>
<testcase name="TestOne/Child" classname="package/name" time="0.020"></testcase>
<testcase name="TestOne/Child#01" classname="package/name" time="0.030"></testcase>
<testcase name="TestOne/Child=02" classname="package/name" time="0.040"></testcase>
<testcase name="TestTwo" classname="package/name" time="0.010"></testcase>
<testcase name="TestTwo/Child" classname="package/name" time="0.020"></testcase>
<testcase name="TestTwo/Child#01" classname="package/name" time="0.030"></testcase>
<testcase name="TestTwo/Child=02" classname="package/name" time="0.040"></testcase>
<testcase name="TestThree" classname="package/name" time="0.010"></testcase>
<testcase name="TestThree/a#1" classname="package/name" time="0.020"></testcase>
<testcase name="TestThree/a#1/b#1" classname="package/name" time="0.030"></testcase>
<testcase name="TestThree/a#1/b#1/c#1" classname="package/name" time="0.040"></testcase>
<testcase name="TestFour" classname="package/name" time="0.020">
<failure message="Failed"></failure>
</testcase>
<testcase name="TestFour/#00" classname="package/name" time="0.000">
<failure message="Failed"><![CDATA[ example.go:12: Expected abc OBTAINED:
xyz
example.go:123: Expected and obtained are different.]]></failure>
</testcase>
<testcase name="TestFour/#01" classname="package/name" time="0.000">
<skipped message="Skipped"><![CDATA[ example.go:1234: Not supported yet.]]></skipped>
</testcase>
<testcase name="TestFour/#02" classname="package/name" time="0.000"></testcase>
<testcase name="TestFive" classname="package/name" time="0.000">
<skipped message="Skipped"><![CDATA[ example.go:1392: Not supported yet.]]></skipped>
</testcase>
<testcase name="TestSix" classname="package/name" time="0.000">
<failure message="Failed"><![CDATA[ example.go:371: This should not fail!]]></failure>
</testcase>
</testsuite>
</testsuites>