Skip to content

Could --output please have another option Failed that doesn't show Skipped tests #10673

Description

Summary

Add another option to --output of Failed, beside the current Normal and Detailed options. When this new option is used, only Failed tests will be logged to the Terminal, both during the Testing run and as a part of the Summary.

ie. Similar to how Passed tests are not logged when the Normal option is used, Skipped tests should not be logged when the Failed option is used

Background and Motivation

My project uses Autogenerated (semi-random) testing data and then dynamically skips tests where the generated data fails testing preconditions. This means there are upwards of 2k skipped tests which are expected, but clog up CI logs.

Just turning off progress does not suppress the logging of skipped tests.

Proposed Feature

Add a new value Failed to the --output option of the Console Terminal reporter.
When Failed is selected suppress logging individual skipped tests, both during the test runs and in the test summary.

Alternative Designs

It's possible that the new option could have a different name, perhaps Quiet

Metadata

Metadata

Assignees

No one assigned

    Labels

    needs/triageNeeds triage by a maintainer.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions