Commit Graph

56 Commits

Author SHA1 Message Date
Jozef Izso
d1de4d5f06 Support for the PHPUnit dialect of JUnit
Refactor PHPUnit support into separate phpunit-junit parser

Instead of modifying the Java JUnit parser, this creates a dedicated
PHPUnit parser that properly handles PHPUnit's nested testsuite elements.
This keeps the parsers cleanly separated and allows for future PHPUnit-
specific features.

Co-Authored-By: Matteo Beccati <matteo@beccati.com>
Co-Authored-By: Claude Code <noreply@anthropic.com>
2025-12-29 13:58:55 +01:00
Michael Marcus
c1a56edcfe Enhance pytest support
Add robust test schema for pytest report
Update README with sample pytest command
2025-11-15 11:55:41 -05:00
Michael Marcus
fe87682515 Improve testing with robust schema for unittest report 2025-11-14 21:59:25 -05:00
Michael Marcus
9b8d3b002e Python support
Add python-xunit-parser.ts with associated case statement
Add python-xunit to reporter docs in action.yml
Add tests
Update README

Resolves #244
Resolves #633
2025-11-14 16:29:58 -05:00
Jozef Izso
661decd3af Upgrade jest to v30.1.3
https://github.com/jestjs/jest/releases/tag/v30.1.0
2025-09-12 13:03:19 +02:00
Cédric Luthi
4128d36b92 Use "Unclassified" when no class name is available
Fixes #556
2025-06-22 20:33:16 +02:00
Cédric Luthi
d1504ea554 Add test on a trx report where the className attribute of TestMethod is missing
This reproduces issue #556
2025-06-22 16:18:52 +02:00
dboriichuk
ae8bd195f8 Add stack tracke to summary 2025-06-18 14:09:49 +03:00
Siegfried Pammer
2312e637f3 List only failed tests
Fixes issue #142
2025-06-08 16:44:51 +02:00
Shamus Taylor
a0398fb7dd Correct behavior for test cases with slashes 2025-05-17 13:42:38 +02:00
Shamus Taylor
7745ff0ec1 Add Golang test parser 2025-05-17 13:41:22 +02:00
Connor Monaghan
70db77d88c feat: parse junit report with message 2025-03-11 18:11:28 +10:00
Philipp Jardas
45526f79fd Fix parsing of ESLint reports in jest-junit format
The [ESLint junit formatter](https://www.npmjs.com/package/eslint-junit)
does not include a total time attribute for the root `<testsuites>`
element.
2024-06-26 13:42:32 +02:00
Anthony Barbier
521e122f40 Fix JUnit message / type fields. 2024-06-25 14:41:42 +02:00
Jozef Izso
c40b69fc4a Fix code formatting and update snapshot for dotnet-unit tests 2024-06-25 14:01:36 +02:00
Kevin Ring
953e623fd8 Report times in milliseconds. 2024-06-25 13:57:09 +02:00
Kevin Ring
49c1f3ae6c Implement NUnit 3 parser. 2024-06-25 13:57:09 +02:00
oscar mampel
1a3cfe6b48 Add support for rspec 2024-03-14 00:40:50 +01:00
Jozef Izso
7aa575a237 Add tests for results with React component names 2023-12-18 13:59:17 +01:00
Jozef Izso
dd41adfb19 Update all development packages
Updates snapshot files for the jest 29
2023-12-13 15:44:36 +01:00
Jozef Izso
1c044b4aef Add SwiftXunitParser class based on JavaJunitParser for swift-xunit reporter 2023-11-08 16:27:24 +01:00
Michal Dorner
43d89d5ee5 Fix dotnet-trx parser failing on passed tests with non-empty error info 2021-04-20 21:38:55 +02:00
Michal Dorner
6662b9362e Fix dotnet-trx parsing of tests with custom display names 2021-04-20 08:40:05 +02:00
Michal Dorner
78b798ea79 Add mocha-json external test fixtures 2021-04-19 23:19:19 +02:00
Michal Dorner
ee126813a2 Merge branch 'dev' into mocha-json 2021-04-01 00:05:41 +02:00
Michal Dorner
ea36be4653 Improve test error messages from flutter
For some reason the error message from flutter SDK might contain no useful information. Basically it just says that test failed and you should see the logs. Logs itself are provided as content of `print` event. This commit adds special processing for this behavior - it parses actual error message out of print event.
2021-03-31 21:25:54 +02:00
Michal Dorner
d5e42b8d57 dart-json: remove group name from test case names 2021-03-23 21:58:20 +01:00
Michal Dorner
3768e4e756 Merge branch 'main' into mocha-json 2021-03-08 21:00:14 +01:00
Michal Dorner
16adfe9b7e Add support for java-junit 2021-03-07 22:06:12 +01:00
Michal Dorner
8dba8714d0 Fix mocha report fixture + test duration handling 2021-02-24 21:32:51 +01:00
Michal Dorner
9b675bd55f Add support for mocha-json 2021-02-23 22:39:35 +01:00
Michal Dorner
effa386fea Fix dart/flutter stack trace parsing 2021-02-01 16:09:01 +01:00
Michal Dorner
855ff9bfaf Fix flutter-json doesn't provide error details 2021-02-01 15:08:21 +01:00
Michal Dorner
2365963b2e Fix dart-json not stripping cwd from suite paths 2021-02-01 12:05:15 +01:00
Michal Dorner
60b35d601a Refactoring & cleanup of whole codebase
Improves report summary and annotations
2021-01-31 20:48:22 +01:00
Michal Dorner
f55c0119bb Remove leading result icon + add external .net fixture 2021-01-28 22:03:01 +01:00
Michal Dorner
3744805866 Add list-suites and list-tests options to limit report size 2021-01-25 12:56:20 +01:00
Michal Dorner
0919385c06 Add test using external test report fixture from jest project 2021-01-25 10:47:49 +01:00
Michal Dorner
42eb11a3c8 Add summary badge to report 2021-01-24 18:11:59 +01:00
Michal Dorner
6f3367ef61 Use normalizeFilePath() to unify test output on windows/Linux 2021-01-16 23:06:50 +01:00
Michal Dorner
c48c07640f Support parsing multiple reports 2021-01-16 22:53:14 +01:00
Michal Dorner
760c090915 Fix EOL issues - remove all \r from annotation message 2021-01-14 22:34:00 +01:00
Michal Dorner
c4b64b0cf4 Add annotations support to dotnet-trx 2021-01-14 21:39:51 +01:00
Michal Dorner
b28f91cc2e Add dotnet-trx support (no annotations yet) 2021-01-11 17:48:33 +01:00
Michal Dorner
aed3b29c84 Add annotations support to dart-json parser 2021-01-10 11:21:16 +01:00
Michal Dorner
cc11acea10 Extend dart-json report with suites summary and test case results 2021-01-06 22:58:54 +01:00
Michal Dorner
e169ffb719 jest-junit - use milliseconds for test suites times 2021-01-06 22:51:03 +01:00
Michal Dorner
9b620ef56a Add dart-json snapshot test 2021-01-05 23:43:49 +01:00
Michal Dorner
d071a83e6a Put only test filename and test case name into annotation title 2020-11-29 21:27:10 +01:00
Michal Dorner
198c3d1af3 Remove duplicate text of top level test name 2020-11-29 20:50:52 +01:00