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

25 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
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
Michael Marcus
f1fa471229 Update all tests 2025-05-17 13:37:38 +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
Jozef Izso
7aa575a237 Add tests for results with React component names 2023-12-18 13:59:17 +01: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
a9749e3840
Handle test reports with no test cases 2021-03-07 12:22:00 +01:00
Michal Dorner
32f5b23752
Set listTests and listSuites to lower detail if report is too big 2021-02-20 22:32:30 +01:00
Michal Dorner
3510d9ac27
Add support for loading test results from artifacts 2021-02-15 15:18:55 +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
96e91aa726
Simplify 'only-failed' to 'failed' 2021-01-28 22:18:29 +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
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
659bb4fff3
Update interfaces to accept multiple reports to parse 2021-01-16 21:19:40 +01:00
Michal Dorner
e7636701ef
Fix tests + jest-junit uses action 'name' input for title 2021-01-10 18:01:52 +01:00
Michal Dorner
fef757f6df
Add initial version of dart-json parser 2021-01-05 23:43:30 +01:00
Michal Dorner
fc8cfe0f32
Create annotations where exceptions were thrown 2020-11-28 21:24:57 +01:00
Michal Dorner
651a2e1bf1 Fix uni tests 2020-11-17 23:07:45 +01:00
Michal Dorner
bc706859ad
Implements jest-junit report parsing 2020-11-12 23:34:42 +01:00