~/talk

Mastering Testcontainers for better integration tests

Talkat Jfokus 2023 · 2023-02-06..02-08· [testing, devops-and-delivery]
slides:none on file

Shows concrete patterns: using jdbc TC URL to auto-provision Postgres, copying schema SQL into the container to initialize DB, and using a TCP proxy to expose a stable localhost port for IDE inspection. Demonstrates lightweight Kafka with Redpanda, Redis, and running k3s inside Docker to test operators, wiring ports into Spring via DynamicPropertySource, starting containers in parallel, and enabling reuse mode for fast local development instead of tearing down every run.

AI-written summary · about

  1. 0:00Testcontainers and integration tests
  2. 8:29Why integration tests matter
  3. 14:50Live demo setup
  4. 28:19Container lifecycle in tests
  5. 33:19Database schema setup
  6. 42:19Kubernetes with Testcontainers
  7. 45:59Reusing containers locally
  8. 49:29Advanced use cases and ecosystem features
~/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.