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

Seperate tparse output from go test when using -follow #97

Open
mfridman opened this issue Jun 7, 2023 · 0 comments
Open

Seperate tparse output from go test when using -follow #97

mfridman opened this issue Jun 7, 2023 · 0 comments

Comments

@mfridman
Copy link
Owner

mfridman commented Jun 7, 2023

Picking up from #86 (comment), @ti-mo has a nice suggestion to split tparse output and go test output when using -follow.

Briefly, the -follow flag parses the go test json event and prints the output just like running go test without tparse. This enables tparse to accumulate test data without a noticeable difference to the caller, as they can view (read "follow") the go test output.

The proposal is to pipe the go test output to stderr and the tparse output to stdout.

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