csharp-testing
Shows best practices for testing C# and .NET code with mocking and organized test patterns.
Installation
Paste this into Claude Code, Cursor, or any agent that can run commands.
What this skill does
What it does: - Helps write tests for C and .NET programs using tools called xUnit, FluentAssertions, and NSubstitute - Provides patterns for organizing tests in a clear way with Arrange-Act-Assert structure - Includes ways to test with multiple inputs at once using Theory tests - Shows how to mock or fake dependencies so you can test code in isolation - Covers integration tests that use real databases and services - Provides guidance on test data generation and ASP.NET Core testing. When to use it: - You are writing new tests for C code - You want to review if your tests are good quality and cover enough code - You are setting up testing tools for a .NET project - You are trying to fix tests that fail randomly or run slowly
The full skill text could not be loaded right now. It installs fine with the command above, or read it at the source.
Mirrored from the author's public source. Install counts from the open skills registry.