1
0
Fork 0
mirror of https://github.com/dorny/test-reporter.git synced 2026-02-04 05:27:55 +01:00
Commit graph

122 commits

Author SHA1 Message Date
Rick Shanor
fb2dd2ba55 feat: Add listTestCaseTime flag to print test times next to test names
- Add a new listTestCaseTime flag, that optionally prints test times
next to test names. This flag defaults to false, for backward
compatibility.
- Update get-report.ts to use this flag when generating a report.
- Update existing tests to set ReportOptions listTestCaseTime: true to
verify above feature.
- Update README with documentation about this new flag.

Note this feature was needed for individual test times under pytest,
since the xml is generated with all tests under one test suite.

https://github.com/dorny/test-reporter/issues/260
2026-01-06 07:39:38 -08:00
Jozef Izso
c92a2893a9
Remove unnecessary output files 2026-01-03 14:18:31 +01:00
Jozef Izso
63870298f5
Create tester-junit reporter for Nette Tester tool 2026-01-01 19:11:59 +01:00
Jozef Izso
ff2d13cc36
Merge pull request #422 from mbeccati/phpunit-support 2025-12-29 14:59:02 +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
837045e72b
Add sample files from PHPUnit results in JUnit XML format
Co-Authored-By: Claude Code <noreply@anthropic.com>
2025-12-29 13:58:55 +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
f24c625f56
Create tests for sample JUnit files
Source: https://github.com/testmoapp/junitxml/
2025-12-27 00:05:09 +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
Michael Marcus
6617053f9c Fix short summary formatting when a report title is present 2025-11-14 11:58:16 -05:00
Jozef Izso
cd299561e7
tests: refactor input collapsed=auto to individual tests
Generated-by: Claude Sonnet 4.5
2025-11-12 14:42:24 +01:00
Jozef Izso
5fb0582760
chore: run linter to fix code style issues 2025-11-12 14:42:24 +01:00
pespinel
7148297f02
test: fix linter and create tests 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
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
Jozef Izso
b14337a039
Merge pull request #632 from dorny/feature/631_jest_v30 2025-07-14 16:09:03 +02:00
Jozef Izso
be36461fba
Fix code formatting in the dotnet-trx.tests.ts file 2025-07-09 16:00:13 +02:00
Jozef Izso
4d84da17a1
Upgrade jest to v30 2025-06-29 16:55:36 +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
Oles Galatsan
b522d19cac
Return links to summary report 2025-06-08 13:09:27 +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
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
0840d7c281 Add test for java-junit 2025-05-17 13:36:23 +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
Oles Galatsan
5b44774702 Add integration test for empty TRX TestDefinitions 2025-05-16 10:25:02 +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
Jozef Izso
7befe80c6c Update format of the jest-junit-eslint.md output file 2024-06-26 13:45:39 +02: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
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
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
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
Michal Dorner
b34d4b1bfe Add NUnit XML results fixtures 2024-06-25 13:57:08 +02:00
Ray Xu
574868ab61 Undo trx parsing changes temporarily 2024-05-29 17:03:02 -07: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
Ray Xu
0b7d35fd12 Merge branch 'dorny:main' 2024-03-03 14:06:44 -08:00