dotnet-integration-testing — Claude Code skill for .NET tests
The dotnet-integration-testing Claude Code skill covers .NET integration tests against real infrastructure. Ask for API test setup with an in-process server or a database running in Docker.
no license 111 installs ★ 92 updated 2026-02-27
npx skills add wshaddix/dotnet-skills --skill dotnet-integration-testing -a claude-codeWhat dotnet-integration-testing does
The skill describes testing ASP.NET Core endpoints through an in-process test server and connecting tests to databases and other services in containers. Its examples cover WebApplicationFactory, Testcontainers, and testing with .NET Aspire.
It also shows service and configuration overrides, test authentication, and database fixture management. Testcontainers requires a running Docker daemon, and the test project must already exist with its integration-test packages referenced. The baseline assumes .NET 8.0 or later; Microsoft.AspNetCore.Mvc.Testing must match the target framework’s major version.
What it helps with
- test an HTTP endpoint through an in-process server
- connect tests to a database in Docker
- replace application services and configuration
- add test authentication for a protected API
Example prompts for the agent
- Write an integration test for the orders endpoint using
WebApplicationFactory. - Set up a PostgreSQL test database with
Testcontainers. - Show how to replace application services and add test authentication.
How to install dotnet-integration-testing
1Skills CLI (Vercel)
npx skills add wshaddix/dotnet-skills --skill dotnet-integration-testing -a claude-code2Manually: put the files in place
~/.claude/skills/dotnet-integration-testing/SKILL.mdCopy the whole skill folder; for one project use .claude/skills/dotnet-integration-testing/
1Skills CLI (Vercel)
npx skills add wshaddix/dotnet-skills --skill dotnet-integration-testing -a codex2Manually: put the files in place
.agents/skills/dotnet-integration-testing/SKILL.mdFor all projects use ~/.agents/skills/
1Skills CLI (Vercel)
npx skills add wshaddix/dotnet-skills --skill dotnet-integration-testing -a cursor2Manually: put the files in place
.cursor/skills/dotnet-integration-testing/SKILL.mdCursor also reads .agents/skills/ and .claude/skills/
1GitHub CLI
gh skill install wshaddix/dotnet-skills skills/dotnet-integration-testing2Manually: put the files in place
.github/skills/dotnet-integration-testing/SKILL.md1Skills CLI (Vercel)
npx skills add wshaddix/dotnet-skills --skill dotnet-integration-testing -a gemini-cli2Platform CLI
gemini skills install https://github.com/wshaddix/dotnet-skills --path skills/dotnet-integration-testingManually: put the files in place
.devin/skills/dotnet-integration-testing/SKILL.mdThe legacy .windsurf/skills/ path still works
Skills CLI (Vercel)
npx skills add wshaddix/dotnet-skills --skill dotnet-integration-testing -a opencodeClaude.ai
Zip the folder and upload it in Settings → Capabilities → Skills
Step by step, with commands for each platform: How to install skills in Claude Code: five ways
Questions about dotnet-integration-testing
How do I install dotnet-integration-testing in Claude Code?
Run npx skills add wshaddix/dotnet-skills --skill dotnet-integration-testing -a claude-code. The skill file is located at ~/.claude/skills/dotnet-integration-testing/SKILL.md.
What does dotnet-integration-testing do?
It covers .NET integration tests with WebApplicationFactory, Testcontainers, and .NET Aspire. Topics include API testing, fixture setup, and test isolation.
What does dotnet-integration-testing need to run?
The test project must already be set up with integration-test packages. Testcontainers needs a running Docker daemon, and the stated .NET baseline is version 8.0 or later.