What problem does it solve? Unit tests with mocked databases and queues encode assumptions rather than real behavior, letting the majority of production bugs at service boundaries slip through. This Skill sets up integration tests that run against real Docker-based dependencies so database, queue, cache, and HTTP interactions are verified against actual systems. ## Core Features & Use Cases - Testcontainers Setup: Starts pinned-version Docker containers for PostgreSQL, Redis, and other dependencies in Python, Go, TypeScript, Java, and Rust, with migrations run before tests. - Test Isolation & Factories: Wraps each test in a transaction that rolls back and generates unique test data via factory patterns instead of hardcoded fixtures. - Contract Testing: Adds Pact consumer-driven contract tests for service-to-service HTTP APIs, plus failure-path tests for constraint violations, malformed messages, and 4xx/5xx responses. - Use Case: While building a checkout service in the TDD GREEN phase, use this Skill to spin up a real PostgreSQL container, write order persistence tests with rollback isolation, and add a Pact contract against the payment API before committing. ## Quick Start Ask the AI to set up integration tests with Testcontainers for the current component's database and external API dependencies during the TDD green phase.