testing-dotnet
CommunityGenerate reliable .NET test suites fast.
Software Engineering#integration tests#mocking#xunit#asp.net core#webapplicationfactory#test organization#dotnet testing
Authorzdanovichnick
Version1.0.0
Installs0
System Documentation
What problem does it solve?
It solves the chaos of inconsistent .NET testing practices by standardizing xUnit conventions, integration testing patterns, and test organization so generated tests behave predictably in real projects.
Core Features & Use Cases
- Consistent test organization: Separates unit, integration, and optional architecture tests into clear project folders to keep responsibilities distinct.
- Practical xUnit conventions: Applies standard class setup patterns (e.g., constructors, IClassFixture) and readable naming like MethodName_StateUnderTest_ExpectedBehavior.
- Integration testing with WebApplicationFactory: Uses an isolated test host and replaces real dependencies (e.g., DB) via ConfigureTestServices to avoid fragile end-to-end setups.
- Mocking and test data guidance: Compares Moq/NSubstitute/FakeItEasy and suggests AutoFixture or builders to reduce boilerplate while keeping intent clear.
Quick Start
Ask the assistant to generate a unit and integration test plan for your ASP.NET Core endpoint using WebApplicationFactory with an in-memory database, following the provided naming and folder conventions.
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: testing-dotnet Download link: https://github.com/zdanovichnick/dotnet-pilot/archive/main.zip#testing-dotnet 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 471,000+ vetted skills library on demand.