Jozef Izso
f8ae4deee6
Report jest-junit testsuite errors as failures
...
Test errors are different (represented differently in the JUnit XML
output from jest-junit) to test _failures_. Failures are tests
which ran and failed, errors are for tests/test suites which
did not even run because the test code itself didn't build
or didn't execute correctly.
jest-junit has an option to enable reporting of test suite errors,
but test-reporter then interprets these as successful tests.
2026-03-15 13:24:18 +01:00
Thomas Durand
08dfe2715b
feat: removing parameter, generating slug prefix and providing it as an output
2026-03-05 15:20:31 +01:00
Thomas Durand
7f0723a953
feat: added a slug-prefix parameter for link anchors
...
Motivation: when using a matrix job, or more than one kind of tests in a same workflow, we can end up with multiple summaries at the same time. This will lead to multiple anchors and html id that will no longer be unique.
This prefix option allow to disambiguate those anchors ; and keep them functional.
2026-03-05 01:52:45 +01:00
Jozef Izso
eed2d2d031
Modernize ESLint configuration
2026-03-02 17:15:02 +01:00
Jozef Izso
66bccdca48
Refactor code for changes in @actions/github v9
2026-03-02 15:44:41 +01:00
Jozef Izso
ef1f9a4e60
Refactor test-reporter to module based package
2026-03-02 14:28:52 +01:00
Jozef Izso
8446e5e701
Simplify the code as the cast to WorkflowRunPR type is not necessary
...
Fixes the error:
```
test-reporter/src/utils/github-utils.ts
18:17 error This assertion is unnecessary since it does not change the type of the expression @typescript-eslint/no-unnecessary-type-assertion
```
2026-03-02 13:17:13 +01:00
Jozef Izso
67e9e545d6
Document the new behavior for evaluating the associated commit
2026-03-02 13:13:44 +01:00
Alexandre Zollinger Chohfi
386854a5d3
Refactor getCheckRunContext to improve SHA resolution from workflow_run events
2026-03-02 13:13:44 +01:00
Jozef Izso
d0430d00c8
Merge pull request #693 from dorny/feature/166-list-all-artifacts
2026-03-02 12:55:03 +01:00
Jozef Izso
d4d263a243
Remove the got library as the streaming progress is part of fetch() in NodeJS 20
2026-03-01 13:53:50 +01:00
Jozef Izso
63870298f5
Create tester-junit reporter for Nette Tester tool
2026-01-01 19:11:59 +01:00
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
Jozef Izso
a79abde936
Load all artifacts in a run
...
Fixes #166
2025-12-05 00:01:38 +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