csharp-testing
OfficialMaster .NET TDD and testing patterns.
Authordigitalhand
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill streamlines the process of writing robust and maintainable C# code by providing a comprehensive guide to Test-Driven Development (TDD) and various testing frameworks and patterns.
Core Features & Use Cases
- TDD Workflow: Implement the Red-Green-Refactor cycle for writing effective tests.
- Unit Testing: Utilize xUnit for writing unit tests, including Facts and Theories.
- Mocking: Learn to use Moq and NSubstitute for isolating dependencies.
- Assertions: Employ FluentAssertions for clear and expressive test assertions.
- Integration Testing: Set up integration tests using WebApplicationFactory for ASP.NET Core applications.
- Database Testing: Integrate Testcontainers for realistic database testing environments.
- Code Coverage: Configure and utilize Coverlet for measuring test coverage.
Quick Start
Write a failing xUnit test for a new C# feature, then implement the minimal code to make it pass.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: csharp-testing Download link: https://github.com/digitalhand/claude-skills-agents/archive/main.zip#csharp-testing Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.