test-reporter/__tests__/fixtures
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
..
empty Add integration test for empty TRX TestDefinitions 2025-05-16 10:25:02 +03:00
external Add NUnit XML results fixtures 2024-06-25 13:57:08 +02:00
open-test-reporting Add support for open-test-reporting format 2025-12-05 09:43:46 +01:00
dart-json.json Fix dart-json parsing broken by print message 2021-05-13 21:48:55 +02:00
dotnet-nunit.xml Add NUnit XML results fixtures 2024-06-25 13:57:08 +02:00
dotnet-trx.trx Fix dotnet-trx parsing of tests with custom display names 2021-04-20 08:40:05 +02:00
dotnet-xunitv3.trx Add test on a trx report where the className attribute of TestMethod is missing 2025-06-22 16:18:52 +02:00
golang-json.json Correct behavior for test cases with slashes 2025-05-17 13:42:38 +02:00
jest-junit-eslint.xml Fix parsing of ESLint reports in jest-junit format 2024-06-26 13:42:32 +02:00
jest-junit.xml Implements jest-junit report parsing 2020-11-12 23:34:42 +01:00
junit-with-message.xml feat: parse junit report with message 2025-03-11 18:11:28 +10:00
mocha-json.json Fix mocha report fixture + test duration handling 2021-02-24 21:32:51 +01:00
python-xunit-pytest.xml Enhance pytest support 2025-11-15 11:55:41 -05:00
python-xunit-unittest.xml Improve testing with robust schema for unittest report 2025-11-14 21:59:25 -05:00
rspec-json.json Add support for rspec 2024-03-14 00:40:50 +01:00
swift-xunit.xml Add SwiftXunitParser class based on JavaJunitParser for swift-xunit reporter 2023-11-08 16:27:24 +01:00