Skip to content

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

@mfridman

Description

@mfridman

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions