dotnet-integration-testing
Installation
SKILL.md
Integration Test Setup
Overview
Integration tests verify the full request pipeline:
- WebApplicationFactory - In-memory test server
- Testcontainers - Real PostgreSQL in Docker
- Respawn - Fast database cleanup between tests
- Authentication helpers - Test with different users/roles
Quick Reference
| Component | Purpose |
|---|---|
IntegrationTestWebAppFactory |
Custom test server factory |
BaseIntegrationTest |
Base class for all tests |
Respawner |
Database cleanup utility |
TestAuthHandler |
Fake authentication handler |