-
Notifications
You must be signed in to change notification settings - Fork 18.4k
Closed
Labels
FrozenDueToAgeNeedsFixThe path to resolution is known, but the work has not been done.The path to resolution is known, but the work has not been done.ProposalProposal-Acceptedhelp wanted
Milestone
Description
Currently, there is no way to quickly tell if a test failure occurred after running go test
.
You have to scroll up and look for the word FAIL
or search for it in a text editor.
Printing a summary of the test results at the bottom (e.g. Tests run: 10, Failures: 2, Errors: 0, Skipped: 0
) would make it easy to tell at a glance if any test failures occurred or not.
An answer to Issue #27755 suggested using the -json
flag, but I haven't seen any good documentation or examples on how to use it. Also, this approach seems too convoluted for something that other languages have for tests out of the box.
EDIT: I'm on Windows 10.
lukechampine, korya, jmikkola, lanzafame, nhooyr and 4 more
Metadata
Metadata
Assignees
Labels
FrozenDueToAgeNeedsFixThe path to resolution is known, but the work has not been done.The path to resolution is known, but the work has not been done.ProposalProposal-Acceptedhelp wanted