mirror of
https://github.com/jstemmer/go-junit-report.git
synced 2025-08-03 10:49:44 -05:00

In cases where a test result is not found, for example when a panic happened, a dummy failing test is added to the report. Since we don't know exactly what failed, its error message was simply "Run error". This has been renamed to "Runtime error".
13 lines
622 B
XML
13 lines
622 B
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<testsuites tests="2" errors="1">
|
|
<testsuite name="github.com/jstemmer/test/failedsummary" tests="2" failures="0" errors="1" hostname="hostname" time="0.005" timestamp="2022-01-01T00:00:00Z">
|
|
<properties>
|
|
<property name="go.version" value="1.0"></property>
|
|
</properties>
|
|
<testcase name="TestOne" classname="github.com/jstemmer/test/failedsummary" time="0.000"></testcase>
|
|
<testcase name="Failure" classname="github.com/jstemmer/test/failedsummary" time="0.000">
|
|
<error message="Runtime error"><![CDATA[panic: panic]]></error>
|
|
</testcase>
|
|
</testsuite>
|
|
</testsuites>
|