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

proposal: testing: Listing the topN most time-consuming test cases as the last output #54198

bo-er opened this issue Aug 2, 2022 · 1 comment


Copy link

@bo-er bo-er commented Aug 2, 2022

Every so often our team members have to check all the test cases to find the most time-consuming ones. Those time-consuming ones are generally badly designed and should not be left there, since they slow down our team's ability to move faster.
I personally believe that go test should be smart enough to list the top 10 most time-consuming test cases so that we don't have to look through the whole output( which is too long to read).
It's a tiny change that can make a lot of people's life easier.

@bo-er bo-er added the Proposal label Aug 2, 2022
@gopherbot gopherbot added this to the Proposal milestone Aug 2, 2022
Copy link

@seankhliao seankhliao commented Aug 2, 2022

Various testing summary proposals have been declined in the past, see #41878 and linked issues.
Building something on top of go test -json output would seem to be more appropriate for this niche usecase (you only care when they take too long).

@ianlancetaylor ianlancetaylor added this to Incoming in Proposals Aug 2, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

No branches or pull requests

3 participants