mirror of
https://github.com/dorny/test-reporter.git
synced 2025-12-15 22:07:09 +01:00
Add workflow and fixtures to test the behavior of fail-on-error and fail-on-empty parameters across different scenarios: - Passing tests with fail-on-error true/false - Failing tests with fail-on-error true/false - Empty results with fail-on-empty true/false Scenario 4 (failing tests + fail-on-error=false) is expected to fail until issue #217 is fixed, documenting the bug where check conclusion shows 'success' even when tests fail. The workflow outputs a GitHub Actions summary with a markdown table showing all test results. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
14 lines
655 B
XML
14 lines
655 B
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<testsuites name="FailingSuite" tests="3" failures="1" errors="0" time="0.5">
|
|
<testsuite name="FailingSuite" tests="3" failures="1" errors="0" time="0.5">
|
|
<testcase name="should pass test 1" classname="FailingSuite" time="0.1"/>
|
|
<testcase name="should fail test 2" classname="FailingSuite" time="0.2">
|
|
<failure message="Assertion failed" type="AssertionError">
|
|
Expected: true
|
|
Received: false
|
|
at Object.test (/test/example.test.js:10:5)
|
|
</failure>
|
|
</testcase>
|
|
<testcase name="should pass test 3" classname="FailingSuite" time="0.2"/>
|
|
</testsuite>
|
|
</testsuites>
|