Curse of the Pharaohs: Rethinking the Testing Pyramid with Testcontainers
summary
Argues that using Testcontainers (Docker-driven test fixtures) lets teams shift testing from brittle mock-heavy unit pyramids toward reliable, isolated integration layers by spinning real dependencies per test; shows a Java library with dynamic port binding and pluggable wait strategies, modules for databases, Kafka, k3s/kin-d, and framework integrations, plus automated cleanup. Project history and scale matter: over 300 contributors and 54+ releases, adoption by Spring/Quarkus/Spotify and ThoughtWorks’ radar say it works in practice and enables safer large refactorings.
AI-written summary · about
chapters (18)
- 0:00Intro
- 1:05Curse of the Pharaohs Rethinking the Testing Pyramid with Testcontainers
- 5:30The Gospel of unit testing according to Kent
- 9:50Why do you test?
- 11:07Test Infected: Programmers Love Writing Tests
- 12:31Unit Testing in the academic community
- 13:49Unit Testing in the industry
- 14:47Change of Definition of "Unit" over time
- 17:07The original food pyramid from the USDA.
- 20:07"Testing Pyramid for Web Apps" by Jason Huggins (2006)
- 22:23"Agile Testing Quadrants" by Lisa Crispin (2008) and Brian Marick (2003)
- 24:22"Testing House" by Simon Brown (2014)
- 30:06Tests can be considered multi-dimensional
- 31:03A possible technical definition for Integration Tests
- 33:08Vanilla API
- 38:20The Project
- 40:33Technology radar
- 41:17Features
related talks
47mIntegration Tests: testcontainers to the Rescue
45mTestcontainers - a Year-in-review
15mTestcontainers: Simplify Your Integration Tests and Development
53mTestcontainers: a year-in-review
51mMastering Testcontainers for better integration tests
39mEasy Java Integrations Testing with Testcontainers
46mTestcontainers - The past, the present and the future
26mSimplify Your Dev Life with Testcontainers
