Files
tasks/tools/testrunner/testdata/junit-alerts-output.xml
Stephan BehnkeandGitHub e578494496 JUnit summary with failures (#9912)
## What changed?

Add failure details per test to GitHub summary view.

## Why?

Avoid digging through logs.

## How did you test it?
- [ ] built
- [ ] run locally and tested manually
- [ ] covered by existing tests
- [x] added new unit test(s)
- [ ] added new functional test(s)

**Example**:

<img width="1193" height="644" alt="Screenshot 2026-04-13 at 1 58 43 PM"
src="https://github.com/user-attachments/assets/9743dba8-7e66-42c9-a877-240e36d7b9b9"
/>

https://github.com/temporalio/temporal/actions/runs/24366106128?pr=9912
2026-04-16 16:16:57 +00:00

17 lines
713 B
XML

<testsuites tests="2" failures="2">
<testsuite name="ALERTS" tests="2" failures="2" errors="0" id="0" time="">
<testcase name="DATA RACE: Data race detected — in go.temporal.io/server/tools/testrunner.TestShowPanic" classname="">
<failure message="DATA RACE" type="DATA RACE"><![CDATA[WARNING: DATA RACE
...
Detected in tests:
go.temporal.io/server/tools/testrunner.TestShowPanic]]></failure>
</testcase>
<testcase name="PANIC: This is a panic — in TestPanicExample" classname="">
<failure message="PANIC" type="PANIC"><![CDATA[panic: This is a panic
...
Detected in tests:
TestPanicExample]]></failure>
</testcase>
</testsuite>
</testsuites>