dotnet / dotnet/sdk

[F.Rq.] Show skipped test (`Assert.Inconclusive`) stacktraces in yellow instead of red

Open
#46,492 0 comments 0 reactions 0 assignees View on GitHub
Area-dotnet test Area-dotnet test (VSTest) untriaged
Dominant language
C#
Stars
3.2k
Forks
1.3k
PR merge metrics
PR metrics pending

Description

### Is your feature request related to a problem? Please describe.
I have a couple projects where `dotnet test` takes far more than a minute, so I can't focus on the output the whole time. It's convenient that failed tests have a stacktrace printed in red so they stand out. But these projects also use `Assert.Inconclusive` in multiple ways, and those skipped tests appear just like failures at a glance. Obviously I can log to disk and grep, but I can imagine scenarios where I could abort test execution and quickly fix something if I noticed a single failure amongst skipped tests.

### Describe the solution you'd like
Colour the stacktrace the same as the status: red for failures, yellow for skipped.

### Additional context
N/A

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.