Skip to content

proposal: testing: flag show skipped #34306

@mvndaai

Description

@mvndaai

I would love if there was a flag for go test that was somewhere between normal and verbose that only showed failures and skips.

go test ./... hides that tests were skipped

go test -v ./... show too much so I miss things

It would be lovely to have something like go test -showSkipped ./... that still shows things like

=== RUN   TestMarkReviewed
--- SKIP: TestMarkReviewed (3.52s)
    flagged_test.go:133: Skipping integration test because a mongo db is not available]

but ignores

=== RUN   TestFlaggedThread
--- PASS: TestFlaggedThread (0.00s)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions