Integration tests & testContainers
summary
Project moves from H2 to real Postgres inside Docker to match three client environments; Flyway runs schema + data migrations against production-like dumps and custom verification services assert data consistency. Builds use docker compose for dev and CI, then switch to testcontainers to auto-start containers, randomize ports, and guarantee cleanup so zombie containers disappear; demos show MySQL/Postgres containers, API Sprout mock servers, RestAssured checks, and CI-friendly, reproducible integration tests that actually work.
AI-written summary · about
chapters (6)
- 0:00Start
- 0:58Integration Tests
- 10:55Maven Plugins and Gradle Plugins
- 11:11Gradle Docker
- 23:02Groovy Console
- 24:59Api Sprout
related talks
30mIntegration tests & testContainers
24mIntegration Testing Made Easy: Leveraging Testcontainers and
59mIntegration and end-to-end testing with TestContainers and JUnit 5
28mPostmortem: TDD with TestContainers
26mSimplify Your Dev Life with Testcontainers
43mRemoving complexity from integration tests using Testcontainers!
32mMock my infrastructure! Using Testcontainers for better integration tests.
46mRemoving complexity from integration tests using Testcontainers!
