Writing reliable tests for your C# and .NET code is easier with proven patterns. This skill covers everything from xUnit test framework to FluentAssertions for readable checks. You will learn how to mock dependencies using NSubstitute or Moq.
Integration tests use real infrastructure with Testcontainers and WebApplicationFactory. Generate realistic data with Bogus. The skill shows how to structure unit tests with Arrange-Act-Assert and parameterized tests using Theory. These patterns help you catch bugs early and keep your code reliable.
Whether you are writing new tests or fixing flaky ones, these practices will save you time and effort. You will learn to organize tests well and make them fast and trustworthy.
Global
mkdir -p ~/.claude/skills/csharp-testingProject
mkdir -p .claude/skills/csharp-testingSource Repository
Grill Memattpocock/skills
Stress-test your plan with relentless questions until we both understand
Tddmattpocock/skills
Write one test at a time then code to make it pass
Test Driven Developmentobra/superpowers
Write a failing test first then code just enough to pass
Qamattpocock/skills
Turn bug reports into GitHub issues through natural conversation without technical fuss
Migrate To Shoehornmattpocock/skills
Replace unsafe as assertions with type-safe partial test data easily
Webapp Testinganthropics/skills
Test your local web apps quickly with Playwright automation and screenshots
Playwright Best Practicescurrents-dev/playwright-best-practices-skill
Master Playwright testing with best practices for reliable and fast tests
Google Agents Cli Evalgoogle/agents-cli
Run evaluations on your AI agent, find failures, and improve its quality step by step