Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

slowest: Add num flag for limiting the number of slow tests to print #318

Merged
merged 1 commit into from Apr 7, 2023

Conversation

dnephin
Copy link
Member

@dnephin dnephin commented Apr 6, 2023

By default gotestsum tool slowest prints the name of all tests slower than the threshold. This new flag allows someone to limit the output to the slowest n tests. This is likely most useful when combined with --post-run-command as shown in the new example.

Closes #303

@dnephin dnephin merged commit a0149eb into gotestyourself:main Apr 7, 2023
@dnephin dnephin deleted the slowest-n-tests branch April 7, 2023 16:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Feat: add optional configurable tests summary
1 participant