Removing Complexity from Integration Tests Using Testcontainers
summary
Demonstrates using Testcontainers to replace manual integration test setup by programmatically spinning Docker services so tests run locally and in CI; builds a Spring sample that launches redis, kafka (Confluent image) and postgres:14-alpine from test code and maps dynamic ports, then runs integration tests that pass in seconds. Shows automatic cleanup, lifecycle hooks, JDBC driver shortcut and cites 6M downloads/month for Testcontainers adoption.
AI-written summary · about
chapters (9)
- 0:00Introduction
- 2:45Why Integration Tests
- 7:00Docker
- 9:11Testcontainers
- 12:57Demo Application
- 14:12Simple Application
- 21:52Demo
- 22:57Conclusion
- 24:07Other languages
related talks
43mRemoving complexity from integration tests using Testcontainers!
50mMastering Integration Tests with Testcontainers.
46mRemoving complexity from integration tests using Testcontainers!
15mTestcontainers: Simplify Your Integration Tests and Development
47mIntegration Tests: testcontainers to the Rescue
26mSimplify Your Dev Life with Testcontainers
51mMastering Testcontainers for better integration tests
51mTestContainers: Integration Testing Without the Hassle
