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

Add option to output Failues to stderr #29

Open
TafThorne opened this issue Jun 10, 2020 · 0 comments
Open

Add option to output Failues to stderr #29

TafThorne opened this issue Jun 10, 2020 · 0 comments

Comments

@TafThorne
Copy link

Would you be open to a patch or know of a tool that parses the go test output and then splits text from a failing case to the stderr output?

I was looing for such a tool and found @rakyll's comments on:
golang/go#21944
I can see that keeping output syncronised within go test while producing stderr output would be hard but in this after tool everything from the start to the end of the failure would be already correctly serlialised.

My use case is that within a CI job I would like to retail the full go test -v output so we have a record of what was run but I would rather only have the Failure cases recorded in the terminal to make them very obvious. I would pipe the passing records to a log file for storage.

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

No branches or pull requests

1 participant