Removing complexity from integration tests using Testcontainers!
summary
Demonstrates using Testcontainers (Java, with language ports for Go/Python/Node/Rust) to run real PostgreSQL and Kafka instances inside Docker for integration tests, showing dynamic port binding, built-in wait strategies, and a reuse mode to avoid repeated 30s Oracle startups; Kafka boots in ~10s in the demo. Tests start/stop containers automatically, expose JDBC URLs and credentials, avoid port collisions, and clean up zombies. Testcontainers Cloud is used as a remote Docker backend.
AI-written summary · about
chapters (4)
related talks
26mRemoving Complexity from Integration Tests Using Testcontainers
46mRemoving complexity from integration tests using Testcontainers!
51mMastering Testcontainers for better integration tests
24mIntegration Testing Made Easy: Leveraging Testcontainers and
01h 06mTestcontainers best practices.
15mTestcontainers: Simplify Your Integration Tests and Development
50mMastering Integration Tests with Testcontainers.
48mTestcontainers and Spring Boot from integration tests to local development!
