aspire-integration-testing - .NET Aspire Integration Testing with xUnit
Write integration tests for .NET Aspire applications using xUnit with real dependencies
Tags
Updated: 2026-06-15Capabilities
Typical Inputs
Typical Outputs
What this skill does
- write integration tests
- create test fixtures
- setup distributed application
- discover service endpoints
- test with real database
- verify service communication
- run Playwright UI tests
- wait for health checks
- configure test environment
- retrieve connection strings
- start application host
- dispose application resources
Inputs
- .NET Aspire application
- xUnit test framework
- AppHost project
- test configuration settings
- database connection strings
- service endpoints
- container infrastructure
- test data
Outputs
- test results
- HTTP responses
- database records
- test execution logs
- application metrics
- coverage reports
Requirements
- .NET SDK
- Aspire.Hosting.Testing package
- xUnit package
- Docker containers
- AppHost project
- IAsyncLifetime implementation
