~/talk

Integration Testing Made Easy: Leveraging Testcontainers and

Talkat DockerCon 2022 · 2022-05-09..05-10· [testing, developer-experience]
links:none on file
slides:none on file

Live coding shows Testcontainers + Docker programmatically spin up real services, run integration tests, and succeed: a Postgres 14.2 container and a Couchbase 7.0.3 bucket are created, tables and indexes initialized, and tests pass. A second demo launches a wallet microservice container on a user-created network with network aliases, exposes ports (mapped to random host ports), uses a /api/v1/health HTTP wait strategy, and verifies inter-service calls end-to-end. Kafka module and common pitfalls like random ports, volumes, and data loading are covered.

AI-written summary · about

  1. 0:00Integration testing intro
  2. 1:25Why external dependencies matter
  3. 2:48Testcontainers for PostgreSQL
  4. 7:29High-consistency with PostgreSQL
  5. 9:37Adding Couchbase storage
  6. 13:50Testing microservice interactions
  7. 18:09Networked microservices setup
  8. 21:11Multi-container tests
  9. 22:34Testcontainers for Kafka
  10. 23:17Closing remarks
~/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.