This covers the practical side of testing .NET applications with xUnit, FluentAssertions, and NSubstitute or Moq. You get patterns for unit tests with proper AAA structure, parameterized tests with Theory attributes, integration testing using WebApplicationFactory, and Testcontainers for real database tests against Postgres. The examples show actual code for mocking repositories, building test data with the builder pattern, and organizing test projects by layer. It skips the philosophy and gives you copy-pasteable setups for the common scenarios like API endpoint testing and repository integration tests. The anti-patterns table at the end is incomplete in the source but the rest is solid reference material when you need to set up or review test infrastructure.
npx -y skills add affaan-m/ecc --skill csharp-testing --agent claude-codeInstalls into .claude/skills of the current project.
Select a file.
wshobson/agents
github/awesome-copilot