What problem does it solve?
Integration tests can be flaky, slow, or tied to production services, making it hard to verify end-to-end behavior reliably; this Skill provides patterns to create isolated, repeatable integration tests that mirror production pipelines without external side effects.
Core Features & Use Cases
- In-process test servers using WebApplicationFactory to exercise full HTTP/gRPC pipelines.
- Fixture-based resource sharing with IClassFixture to speed tests and reuse expensive resources.
- Containerized real databases via TestContainers and fast state resets with Respawn for realistic, repeatable scenarios.
- Service overrides through ConfigureTestServices to replace external dependencies with fakes or test doubles.
- Use Case: Add integration tests for an order service that validate handlers, persistence, and messaging while running a SQL container and resetting state between tests.
Quick Start
Run the integration-testing skill to scaffold or adapt a TestWebAppFactory with ConfigureTestServices to use an in-memory database or a TestContainers-backed database and a shared fixture for isolated end-to-end testing.