Skip to content

feat: Add listTestCaseTime flag to print test times next to test names#709

Open
rshanor wants to merge 1 commit intodorny:mainfrom
rshanor:rshanor/issue-260
Open

feat: Add listTestCaseTime flag to print test times next to test names#709
rshanor wants to merge 1 commit intodorny:mainfrom
rshanor:rshanor/issue-260

Conversation

@rshanor
Copy link
Copy Markdown

@rshanor rshanor commented Jan 6, 2026

  • 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.

Fixes #260

image

- 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.

dorny#260
@rshanor
Copy link
Copy Markdown
Author

rshanor commented Jan 6, 2026

@jozefizso I am unable to request a review from you, but would appreciate one. Thanks!

@jozefizso jozefizso self-assigned this Jan 6, 2026
@jozefizso jozefizso self-requested a review January 6, 2026 18:02
@jozefizso jozefizso added the enhancement New feature or request label Jan 6, 2026
@jozefizso jozefizso added this to the v2 milestone Jan 6, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Time taken doesn't show up for each test case as seen in the reference screenshots attached in readme.

2 participants