test-reporter/__tests__/__outputs__
Piotr Mionskowski eedd088b6d Add support for open-test-reporting format
Add a new parser for the open-test-reporting format developed by the
JUnit team (https://github.com/ota4j-team/open-test-reporting).

This format is a modern, framework-agnostic XML-based test reporting
standard that supports rich metadata including tags, attachments, and
infrastructure information.

Features:
- Auto-detection of both XML format variants:
  - Hierarchical format (h:execution) - tree-structured results
  - Event-based format (e:events) - streaming/real-time results
- ISO 8601 duration parsing (e.g., PT1.234S)
- Status mapping: SUCCESSFUL, SKIPPED, ABORTED, FAILED, ERRORED
- Error message extraction from failed tests
- Proper XML namespace handling

Files added:
- src/parsers/open-test-reporting/open-test-reporting-types.ts
- src/parsers/open-test-reporting/open-test-reporting-parser.ts
- __tests__/open-test-reporting.test.ts (20 tests)
- __tests__/fixtures/open-test-reporting/*.xml
2025-12-05 09:43:46 +01:00
..
dart-json.md Return links to summary report 2025-06-08 13:09:27 +02:00
dotnet-nunit.md Return links to summary report 2025-06-08 13:09:27 +02:00
dotnet-trx-only-failed.md Add stack tracke to summary 2025-06-18 14:09:49 +03:00
dotnet-trx.md Add stack tracke to summary 2025-06-18 14:09:49 +03:00
dotnet-xunitv3.md Use "Unclassified" when no class name is available 2025-06-22 20:33:16 +02:00
fluent-validation-test-results.md Return links to summary report 2025-06-08 13:09:27 +02:00
golang-json.md Return links to summary report 2025-06-08 13:09:27 +02:00
jest-junit-eslint.md Return links to summary report 2025-06-08 13:09:27 +02:00
jest-junit.md Return links to summary report 2025-06-08 13:09:27 +02:00
jest-react-component-test-results.md Return links to summary report 2025-06-08 13:09:27 +02:00
jest-test-results.md Return links to summary report 2025-06-08 13:09:27 +02:00
junit-with-message.md Return links to summary report 2025-06-08 13:09:27 +02:00
mocha-json.md Return links to summary report 2025-06-08 13:09:27 +02:00
mocha-test-results.md Return links to summary report 2025-06-08 13:09:27 +02:00
open-test-reporting-events.md Add support for open-test-reporting format 2025-12-05 09:43:46 +01:00
open-test-reporting-hierarchy.md Add support for open-test-reporting format 2025-12-05 09:43:46 +01:00
provider-test-results.md Return links to summary report 2025-06-08 13:09:27 +02:00
pulsar-test-results-no-merge.md Return links to summary report 2025-06-08 13:09:27 +02:00
pulsar-test-results.md Return links to summary report 2025-06-08 13:09:27 +02:00
python-xunit-pytest.md Enhance pytest support 2025-11-15 11:55:41 -05:00
python-xunit-unittest.md Enhance pytest support 2025-11-15 11:55:41 -05:00
rspec-json.md Return links to summary report 2025-06-08 13:09:27 +02:00
silent-notes-test-results.md Return links to summary report 2025-06-08 13:09:27 +02:00
swift-xunit.md Return links to summary report 2025-06-08 13:09:27 +02:00