What problem does it solve?
This Skill helps you replace ad-hoc testing with a consistent, production-grade .NET testing strategy that covers unit, integration, and end-to-end quality gates without gaps.
Core Features & Use Cases
- Testing strategy selection: Choose the right test type (unit vs integration vs E2E) and the right test doubles using a decision framework.
- Framework-ready .NET test authoring: Implement xUnit v3 patterns including fixtures and async lifecycles.
- Quality gates that prevent regressions: Add coverage collection (coverlet), test quality tooling (Stryker.NET), snapshot verification (Verify), and performance regression checks (BenchmarkDotNet + CI thresholds).
- Real-world infrastructure testing: Validate HTTP and middleware behavior with WebApplicationFactory, databases and services with Testcontainers, and multi-service apps with .NET Aspire testing.
- UI/end-to-end confidence: Run browser E2E tests with Playwright, with CI caching, trace debugging, and maintainable selectors.
Quick Start
Use the dotnet-testing skill to design and implement a complete .NET testing setup that uses xUnit v3 for unit/integration tests, Verify for snapshots, Playwright for E2E UI checks, and BenchmarkDotNet for CI performance regression gating.