~/talk

Simplifying Integration Tests With Testcontainers

Talkat Devoxx Poland 2022 · 2022-06-22..06-24· [testing, devops-and-delivery]
slides:none on file

Library claim: spin up real dependencies in Docker and run repeatable integration tests with minimal code. Example project wires Postgres Redis Kafka into a Spring Boot test, sets dynamic properties via tc JDBC URL, starts containers, copies migration SQL, and the tests run green. Features shown: JUnit/Spring integration, modules for complex services, port proxying, toxiproxy chaos for latency tests, reuse mode, and cloud-backed execution; the demo builds and works.

AI-written summary · about

  1. 0:00Introduction and motivation
  2. 10:04What are Testcontainers
  3. 26:31Basic Testcontainers setup
  4. 33:27Dynamic database creation
  5. 37:20Manual database initialization
  6. 40:31Container lifecycle management
  7. 43:00Port proxying for debugging
  8. 46:08Chaos engineering with Toxiproxy
  9. 51:03Advanced Testcontainers features
  10. 52:47Cloud backend for Testcontainers
  11. 53:49Resources and conclusion
~/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.