test-reporter/__tests__/__snapshots__
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.test.ts.snap Upgrade jest to v30.1.3 2025-09-12 13:03:19 +02:00
dotnet-nunit.test.ts.snap Upgrade jest to v30.1.3 2025-09-12 13:03:19 +02:00
dotnet-trx.test.ts.snap Upgrade jest to v30.1.3 2025-09-12 13:03:19 +02:00
golang-json.test.ts.snap Upgrade jest to v30.1.3 2025-09-12 13:03:19 +02:00
java-junit.test.ts.snap Upgrade jest to v30.1.3 2025-09-12 13:03:19 +02:00
jest-junit.test.ts.snap Upgrade jest to v30.1.3 2025-09-12 13:03:19 +02:00
mocha-json.test.ts.snap Upgrade jest to v30.1.3 2025-09-12 13:03:19 +02:00
open-test-reporting.test.ts.snap Add support for open-test-reporting format 2025-12-05 09:43:46 +01:00
python-xunit.test.ts.snap Enhance pytest support 2025-11-15 11:55:41 -05:00
rspec-json.test.ts.snap Upgrade jest to v30.1.3 2025-09-12 13:03:19 +02:00
swift-xunit.test.ts.snap Upgrade jest to v30.1.3 2025-09-12 13:03:19 +02:00