Skills for Real Engineers. Straight from my .agents directory.
aspire-integration-testing
Agent skill fromAaronontheweb/dotnet-skills
Write integration tests using .NET Aspire's testing facilities with xUnit. Covers test fixtures, distributed application setup, endpoint discovery, and patterns for testing ASP.NET Core apps with real dependencies.
How to install aspire-integration-testing
npx skills add Aaronontheweb/dotnet-skills# or add only this skill to Claude Code: copy the folder
skills/aspire-integration-testing/
# into
~/.claude/skills/aspire-integration-testing/ (all projects)
.claude/skills/aspire-integration-testing/ (one project)
1# Integration Testing with .NET Aspire + xUnit23## When to Use This Skill45Use this skill when:6- Writing integration tests for .NET Aspire applications7- Testing ASP.NET Core apps with real database connections8- Verifying service-to-service communication in distributed applications9- Testing with actual infrastructure (SQL Server, Redis, message queues) in containers10- Combining Playwright UI tests with Aspire-orchestrated services11- Testing microservices with proper service discovery and networking1213## Reference Files1415- [advanced-patterns.md](advanced-patterns.md): Endpoint discovery, database testing, Playwright, conditional config, Respawn, service communication, message queues16- [ci-and-tooling.md](ci-and-tooling.md): CI/CD integration, custom resource waiters, Aspire CLI with MCP1718## Core Principles19201. **Real Dependencies** - Use actual infrastructure (databases, caches) via Aspire, not mocks212. **Dynamic Port Binding** - Let Aspire assign ports dynamically (`127.0.0.1:0`) to avoid conflicts223. **Fixture Lifecycle** - Use `IAsyncLifetime` for proper test fixture setup and teardown234. **Endpoint Discovery** - Never hard-code URLs; discover endpoints from Aspire at runtime245. **Parallel Isolation** - Use xUnit collections to control test parallelization256. **Health Checks** - Always wait for services to be healthy before running tests2627## High-Level Testing Architecture2829```30┌─────────────────┐ ┌──────────────────────┐31…
Excerpt shown under the repository's MIT license.
More skills in dotnet-skills
Similar skill repositories
An agentic skills framework & software development methodology that works.
Public repository for Agent Skills
Makes your AI agent think like the laziest senior dev in the room. The best code is the code you never wrote.
Production-grade engineering skills for AI coding agents.
The open-source app everyone uses to manage agents at work
