Commit graph

34 commits

Author SHA1 Message Date
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
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
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
Oles Galatsan
5b44774702 Add integration test for empty TRX TestDefinitions 2025-05-16 10:25:02 +03: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
Michal Dorner
b34d4b1bfe Add NUnit XML results fixtures 2024-06-25 13:57:08 +02:00
dominicmh
a26c5eaf39 make test fail by adding setUpAll and tearDownAll 2024-04-12 21:25:30 +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
1c044b4aef Add SwiftXunitParser class based on JavaJunitParser for swift-xunit reporter 2023-11-08 16:27:24 +01:00
Hervé Audren
a91086638b Gracefully handle empty failure tags
This commit fixes #137. Some JUnit generators emit an empty failure tag,
with only a message property set. In those cases, the parser crashes
when trying to match the failure with a source file. Since this feature
is optional, the simplest fix is to skip the processing when the failure
tag is empty.

Also added a test, and the corresponding input file is generated from a
reporter within our codebase.
2022-11-29 08:45:53 +09:00
Ramon van de Laarschot
a3356fa639 Gracefully handle empty nested testsuite elements for JUnit.
This fixes an issue with mocha-junit-reporter returning empty root-level testsuite elements.
2022-09-09 16:51:32 +02:00
Michal Dorner
dcaab46b46
Fix dart-json parsing broken by print message
Print message related to suite, instead of a specific test, would break parsing - it would expect test object to be present in dictionary but there would be none.
This fix adds necessary check and messages not related to tracked tests will be ignored.
2021-05-13 21:48:55 +02: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
9db99178aa
Add mocha-json test case for empty test results 2021-03-08 21:04:14 +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
a9749e3840
Handle test reports with no test cases 2021-03-07 12:22:00 +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
855ff9bfaf
Fix flutter-json doesn't provide error details 2021-02-01 15:08:21 +01:00
Michal Dorner
f55c0119bb
Remove leading result icon + add external .net fixture 2021-01-28 22:03:01 +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
9b620ef56a
Add dart-json snapshot test 2021-01-05 23:43:49 +01:00
Michal Dorner
bc706859ad
Implements jest-junit report parsing 2020-11-12 23:34:42 +01:00
Michal Dorner
f861278768
Add jest-junit fixture project 2020-10-18 21:08:40 +02:00
Michal Dorner
cd21268493
Add dart fixture project 2020-10-18 19:57:47 +02:00
Michal Dorner
62ec9da2d6
Add dotnet-trx fixture project 2020-10-17 21:41:49 +02:00