Skill page Testing v1.0.0

Coverlet for .NET

Use the open-source free `coverlet` toolchain for .NET code coverage. Use when a repo needs line and branch coverage, collector versus MSBuild driver selection, or CI-safe coverage commands.

Trigger On

  • the repo uses or wants coverlet
  • CI needs line or branch coverage for .NET tests
  • the team needs to choose between coverlet.collector, coverlet.msbuild, or coverlet.console

Workflow

  1. Choose the driver deliberately:

- coverlet.collector for VSTest dotnet test --collect - coverlet.msbuild for MSBuild property-driven runs - coverlet.console for standalone scenarios

  1. Add coverage packages only to test projects.
  2. Do not mix coverlet.collector and coverlet.msbuild in the same test project.
  3. Pair raw coverage collection with ReportGenerator only when humans need rendered reports.

Deliver

  • explicit coverage driver selection
  • reproducible coverage commands for local and CI runs

Validate

  • coverage driver matches the runner model
  • coverage files are stable and consumable by downstream reporting

Load References

Related skills

Use the open-source free `ReportGenerator` tool for turning .NET coverage outputs into HTML, Markdown, Cobertura, badges, and merged reports.

dotnet skills install reportgenerator

Related agents

Orchestration agent
6 linked skills

.NET Build

Build-focused orchestration agent for .NET restore, build, test, packaging, CI failures, diagnostics, and environment drift.

agents install build

Also works: dotnet agents install build

Orchestration agent
8 linked skills

.NET Review

Review orchestration agent for .NET changes across bugs, regressions, analyzers, architecture, tests, and maintainability.

agents install review

Also works: dotnet agents install review