Skip to content
Back to skills

Vstest Pretty Logger

ASecurity

Use when a .NET test project's `dotnet test` output should be terse and readable: only failures, skips and slow tests, then every failure again with its stack trace and a summary. Nullean.VsTest.Pretty.TestLogger is a VSTest logger (friendly name `pretty`) that replaces the console logger.

  • 7 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added November 15, 2026
testinggotestinggit

Security analysis

A100/100

Scanned November 15, 2026

npx -y skills add nullean/vstest-pretty-logger --skill vstest-pretty-logger --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Vstest Pretty Logger?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Vstest Pretty Logger
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/nullean-vstest-pretty-logger/badge)](https://www.skillsdirectory.com/skills/nullean-vstest-pretty-logger)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: vstest-pretty-logger
description: >-
  Use when a .NET test project's `dotnet test` output should be terse and readable: only failures, skips and slow
  tests, then every failure again with its stack trace and a summary. Nullean.VsTest.Pretty.TestLogger is a VSTest
  logger (friendly name `pretty`) that replaces the console logger.
---

# Nullean.VsTest.Pretty.TestLogger

A VSTest logger, so it works with `dotnet test` on VSTest (xUnit v2, NUnit, MSTest with `Microsoft.NET.Test.Sdk`). It
does not work on Microsoft.Testing.Platform, which has no VSTest loggers.

## Turn it on for a test project

```xml
<!-- the test .csproj: a build-time dependency, never a runtime one -->
<ItemGroup>
  <PackageReference Include="Nullean.VsTest.Pretty.TestLogger" PrivateAssets="All" />
</ItemGroup>
<PropertyGroup>
  <RunSettingsFilePath>$(MSBuildProjectDirectory)\.runsettings</RunSettingsFilePath>
</PropertyGroup>
```

```xml
<!-- .runsettings next to it -->
<RunSettings>
  <LoggerRunSettings>
    <Loggers>
      <Logger friendlyName="Console" enabled="False" />
      <Logger friendlyName="pretty" enabled="True" />
    </Loggers>
  </LoggerRunSettings>
</RunSettings>
```

For one run instead: `dotnet test --logger pretty`. Other loggers can run next to it, for example
`--logger GitHubActions` from the GitHubActionsTestLogger package.

## Hide skipped tests by namespace

```xml
<!-- inside <RunSettings> -->
<TestRunParameters>
  <Parameter name="DisableFullSkipMessages" value="MyTests.Examples.;MyTests.Integration." />
</TestRunParameters>
```

Skipped tests whose fully qualified name starts with one of the `;`-separated prefixes print nothing; they still
count in the summary.

## Gotchas

- Disable the `Console` logger when `pretty` is on, or both loggers write their own output for the same run.
- Fast passing tests print no line at all; a run with only passes shows just the summary.
- Slow means longer than two seconds. The threshold is fixed.
- Grep for `[FAIL]` to find the failures repeated at the end of the run.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in testing →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.