test-reporter/__tests__
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
..
__outputs__ Add support for open-test-reporting format 2025-12-05 09:43:46 +01:00
__snapshots__ Add support for open-test-reporting format 2025-12-05 09:43:46 +01:00
fixtures Add support for open-test-reporting format 2025-12-05 09:43:46 +01:00
report Fix badge encoding for values including the _ underscore character 2025-11-05 22:54:32 +01:00
utils Upgrade jest to v30 2025-06-29 16:55:36 +02:00
dart-json.test.ts Update all tests 2025-05-17 13:37:38 +02:00
dotnet-nunit.test.ts Update all tests 2025-05-17 13:37:38 +02:00
dotnet-trx.test.ts Fix code formatting in the dotnet-trx.tests.ts file 2025-07-09 16:00:13 +02:00
golang-json.test.ts Correct behavior for test cases with slashes 2025-05-17 13:42:38 +02:00
java-junit.test.ts Update all tests 2025-05-17 13:37:38 +02:00
java-stack-trace-element-parser.test.ts fix(java-junit): parse StackTraceElement with custom classloader 2022-11-19 22:17:15 +02:00
jest-junit.test.ts Fix short summary formatting when a report title is present 2025-11-14 11:58:16 -05:00
mocha-json.test.ts Update all tests 2025-05-17 13:37:38 +02:00
open-test-reporting.test.ts Add support for open-test-reporting format 2025-12-05 09:43:46 +01:00
python-xunit.test.ts Enhance pytest support 2025-11-15 11:55:41 -05:00
rspec-json.test.ts Update all tests 2025-05-17 13:37:38 +02:00
swift-xunit.test.ts Update all tests 2025-05-17 13:37:38 +02:00