gotestyourself / gotestyourself/gotestsum

Option to control whether stdout/stderr output is shown

Open
#484 3 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Go
Stars
2.7k
Forks
171
PR merge metrics
No merged PRs in 30d

Description

`gotestsum` suppresses app stdout logging, but I would like to optionally see it. I tested all `--format` options and only `--format standard-verbose` prints stdout currently.

I'd suggest a new option like `--show-stdout` and possibly `--show-stderr` to control whether these streams are shown or not and this should work independently from the `--format` option.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by tracing gotestsum's handling of test stdout/stderr and the existing --format standard-verbose behavior. Define --show-stdout and --show-stderr as independent of --format, then verify that each stream is shown or suppressed as requested across the available formats.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
cli, testing
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.