Commit Graph

190 Commits

Author SHA1 Message Date
Jozef Izso
17c900ba4e Use String.substring() function instead of the deprecated String.substr() 2025-12-29 15:06:16 +01:00
Jozef Izso
4ee97617f7 Document the behavior of getRelativePath() and getWorkDir() functions
Co-Authored-By: Claude Code <noreply@anthropic.com>
2025-12-29 14:36:48 +01:00
Jozef Izso
a97700c53c Include tests for parsing files names and line numbers in the PhpunitJunitParser
Co-Authored-By: Codex <codex@openai.com>
2025-12-29 14:25:10 +01:00
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
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
Michael Marcus
9aef9d168f Remove info log 2025-11-14 12:01:42 -05:00
Michael Marcus
6617053f9c Fix short summary formatting when a report title is present 2025-11-14 11:58:16 -05:00
Jozef Izso
c7935221e6 feat: add validation for the collapsed input parameter
Generated-by: Claude Sonnet 4.5
2025-11-12 14:42:24 +01:00
pespinel
7148297f02 test: fix linter and create tests 2025-11-12 14:42:23 +01:00
pespinel
828632acd0 feat: add collapsed option to control report visibility 2025-11-12 14:42:23 +01:00
Jozef Izso
bed521d765 Fix badge encoding for values including the _ underscore character 2025-11-05 22:54:32 +01:00
Jozef Izso
6079ce3d17 Add unit tests for getBadge() function to ensure values are encoded for img.shields.io service 2025-11-05 22:54:32 +01:00
Jozef Izso
de77f76b7e Fix badge image by correctly encoding the URI components 2025-11-05 21:18:09 +01:00
Jozef Izso
ec1e910416 Merge pull request #630 from dorny/chore/shadowed_variables 2025-07-14 16:08:51 +02:00
Jozef Izso
eea8b67eb1 Refactor variable names
Fixes error `no-shadow`: Disallow variable declarations from shadowing variables declared in the outer scope.
2025-06-29 16:22:07 +02:00
Cédric Luthi
4128d36b92 Use "Unclassified" when no class name is available
Fixes #556
2025-06-22 20:33:16 +02:00
dboriichuk
ae8bd195f8 Add stack tracke to summary 2025-06-18 14:09:49 +03:00
Jozef Izso
a1ac327414 Merge pull request #606 from dorny/bugfix/142-list_failed_tests_only 2025-06-13 13:07:08 +02:00
Siegfried Pammer
2312e637f3 List only failed tests
Fixes issue #142
2025-06-08 16:44:51 +02:00
Jozef Izso
6126f49c2c Use types arguments in the downloadStream event handlers
Issues #603
2025-06-08 13:21:12 +02:00
Jozef Izso
be2b975095 Use typed WorkflowRunEvent when parsing workflow_run payload
Issue #603
2025-06-08 13:21:12 +02:00
Oles Galatsan
b522d19cac Return links to summary report 2025-06-08 13:09:27 +02:00
Oles Galatsan
364887ed35 Add short summary for step summary 2025-05-20 12:11:51 +03:00
Shamus Taylor
a0398fb7dd Correct behavior for test cases with slashes 2025-05-17 13:42:38 +02:00
Shamus Taylor
34f1c566ff register parser and update readme 2025-05-17 13:41:22 +02:00
Shamus Taylor
7745ff0ec1 Add Golang test parser 2025-05-17 13:41:22 +02:00
Michael Marcus
f1fa471229 Update all tests 2025-05-17 13:37:38 +02:00
Michael Marcus
0f47a5bec1 Update README; use empty string as default 2025-05-17 13:36:24 +02:00
Michael Marcus
2b2d091d3d Do not print a title if none is specified in the config 2025-05-17 13:36:24 +02:00
Michael Marcus
0841c8130e Feature: Add summary title
Add new option `report-title` to add H1 title to the Markdown report

Resolves #540
2025-05-17 13:36:23 +02:00
Jozef Izso
d1bf678c89 Merge pull request #582 from OlesGalatsan/bugfix/empty-trx-test-definitions
Fix for empty TRX TestDefinitions
2025-05-17 13:32:22 +02:00
Oles Galatsan
2acf6c2ccd Fix for empty TRX TestDefinitions 2025-05-15 15:40:14 +03:00
Oles Galatsan
8b055ac247 Increase step summary limit 2025-05-15 15:37:31 +03:00
Michael Marcus
314ef1dd49 Fix broken links in report summary
Resolves #566
2025-03-25 14:35:49 -04: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
Jozef Izso
9d0f09a6b6 Fix code formatting issues 2024-06-25 23:28:35 +02:00
Ray Xu
84e60bad69 Merge branch 'upstream-main' into ritchxu/support-actions-summary 2024-06-25 10:26:24 -07:00
Ray Xu
1db430559c Reaction to PR feedback 2024-06-25 10:19:55 -07:00
Jozef Izso
21ae91ed3c Fix formatting of the code 2024-06-25 14:41:50 +02:00
Anthony Barbier
521e122f40 Fix JUnit message / type fields. 2024-06-25 14:41:42 +02:00
Jozef Izso
1397b99b7c Refactor dotnet-nunit parser to DotnetNunitParser 2024-06-25 14:09:10 +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
ce340de8b9 Add reporter, eslint, formatting. 2024-06-25 13:57:09 +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
Ray Xu
574868ab61 Undo trx parsing changes temporarily 2024-05-29 17:03:02 -07:00
Jozef Izso
ed2a32e11c Merge pull request #438 from JojOatXGME/fix-artifact-download-alternative
Fix problematic retransmission of authentication token (alternative solution) #438
2024-05-08 12:06:22 +02:00
Johannes Spangenberg
f763877804 Fix problematic retransmission of authentication token
The retransmission of the authentication token to the server providing
the artifact caused the following errors when using Artifacts v4:

  HTTPError: Response code 400 (Authentication information is not given
  in the correct format. Check the value of Authorization header.)

It looks like the service serving the artifacts does not expect the
authentication header, and therefore complaines about inproper use of
the authentication header. Delegating the redirect-handling to the `got`
library fixes the issue according to my tsts.
2024-05-04 13:43:51 +02:00
dominicmh
cacdfc564b exclude hidden "tests" from test result 2024-04-12 21:31:54 +02:00