Coverlet for .NET
Use the open-source free `coverlet` toolchain for .NET code coverage.
dotnet skills install coverlet
Write, run, or repair .NET tests that use xUnit. Use when a repo uses `xunit`, `xunit.v3`, `[Fact]`, `[Theory]`, or `xunit.runner.visualstudio`, and you need the right CLI, package, and runner guidance for xUnit on VSTest or Microsoft.Testing.Platform.
- xunit usually means v2 - xunit.v3 means v3 - xunit.runner.visualstudio plus Microsoft.NET.Test.Sdk usually means VSTest compatibility is enabled - TestingPlatformDotnetTestSupport or UseMicrosoftTestingPlatformRunner means Microsoft.Testing.Platform is in play
test command from AGENTS.md. If the repo has no explicit command yet, start with dotnet test PROJECT_OR_SOLUTION.- xUnit v2 usually runs through VSTest - xUnit v3 can run as a standalone executable with dotnet run - xUnit v3 can also integrate with Microsoft.Testing.Platform - do not mix VSTest-only switches into Microsoft.Testing.Platform runs
- one project - one class - one trait - one method
[Theory] for stable data-driven coverage and [Fact] for single-path invariant checks.xunit.analyzers enabled when present. Fix analyzer findings instead of muting them casually.references/xunit.mdreferences/patterns.mdreferences/anti-patterns.mdUse the open-source free `coverlet` toolchain for .NET code coverage.
dotnet skills install coverlet
Write, run, or repair .NET tests that use MSTest.
dotnet skills install mstest
Write, run, or repair .NET tests that use NUnit.
dotnet skills install nunit