Take Control of your Integration Testing with Testcontainers
summary
Shows concrete failures caught when switching from H2 vs MySQL mismatch (empty IN clause rejected by MySQL) to running a real MySQL instance inside tests via Testcontainers MySQL container. Demonstrates Gradle/Spock setup, automatic Docker pull and lifecycle control, and replacing manual localstack setup for S3 with a LocalStack container to create/read buckets. Gives code-level notes on driver URLs, a generic container option for custom images, and confirms tests run and reproduce production behavior.
AI-written summary · about
chapters (3)
related talks
30mIntegration tests & testContainers
13mImproving Integration Tests using Testcontainers
47mMySQL, Node & Testcontainers Testing Done Right
48mMaking Your Testcontainers Experience Smoother
26mRemoving Complexity from Integration Tests Using Testcontainers
47mIntegration Tests: testcontainers to the Rescue
40mIntegration tests & testContainers
50mMastering Integration Tests with Testcontainers.
