~/talk

Curse of the Pharaohs: Rethinking the Testing Pyramid with Testcontainers

Talkat Java Day Istanbul 2024 · on Saturday, 2024-05-11· [testing]
slides:none on file

Argues the testing pyramid needs rethinking for microservices and shows Testcontainers (Java library, MIT, started 2015, used by ~20,000 projects) as the practical tool: it programmatically spins Docker dependencies, uses dynamic port binding, performs wait-for-ready probes, and offers modules for Postgres, Kafka, browsers, k3s and cloud emulators. Demo shows per-method containers take ~4 seconds each but a singleton container pattern drops tests to milliseconds. Emphasizes avoiding shared resources and using real dependencies for more reliable integration tests.

AI-written summary · about

  1. 0:00Introduction and setup
  2. 8:11History of testing concepts
  3. 16:22Unit testing and TDD origins
  4. 23:26Testing pyramid evolution
  5. 33:29Modern testing approaches
  6. 38:49Integration testing with real dependencies
  7. 43:25Testcontainers overview
  8. 49:02Live demo with Testcontainers
  9. 54:20Q&A and closing
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.