mirror of
https://github.com/jstemmer/go-junit-report.git
synced 2025-08-03 18:59:46 -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".
22 lines
873 B
XML
22 lines
873 B
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<testsuites tests="2" errors="2">
|
|
<testsuite name="package/panic" tests="1" failures="0" errors="1" hostname="hostname" time="0.003" timestamp="2022-01-01T00:00:00Z">
|
|
<properties>
|
|
<property name="go.version" value="1.0"></property>
|
|
</properties>
|
|
<testcase name="Failure" classname="package/panic" time="0.000">
|
|
<error message="Runtime error"><![CDATA[panic: init
|
|
stacktrace]]></error>
|
|
</testcase>
|
|
</testsuite>
|
|
<testsuite name="package/panic2" tests="1" failures="0" errors="1" hostname="hostname" time="0.003" timestamp="2022-01-01T00:00:00Z">
|
|
<properties>
|
|
<property name="go.version" value="1.0"></property>
|
|
</properties>
|
|
<testcase name="Failure" classname="package/panic2" time="0.000">
|
|
<error message="Runtime error"><![CDATA[panic: init
|
|
stacktrace]]></error>
|
|
</testcase>
|
|
</testsuite>
|
|
</testsuites>
|