~/talk

Test Containers: Where Every Test Starts Fresh

Talkat BlaBlaConf 2025 · 2025-02-03..02-07· [testing]
slides:none on file

Claims that Testcontainers removes flaky, shared-state integration tests by spinning disposable Docker databases that mirror production and auto start and stop for each run, demonstrated with Spring Boot + PostgreSQL code that saves a user into a fresh DB and tears it down, showing tests become reproducible on Java Python and .NET CI runners. Addresses timing and data management problems and cites a real-world faulty deployment that hit 8.5 million devices and cost an estimated $500 million.

AI-written summary · about

  1. 0:00Introduction
  2. 1:29Software development lifecycle
  3. 3:13Testing in development
  4. 5:22Cost of integration test failures
  5. 7:11Integration test challenges
  6. 9:16What are Testcontainers
  7. 10:23How Testcontainers work
  8. 12:54Benefits of isolated tests
  9. 13:34Demo with Spring Boot
  10. 16:47Configuration best practices
  11. 18:16Cleanup and logging
  12. 19:01Versioning and images
  13. 20:05Conclusion and Q&A
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 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
?
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.