~/talk

Integration testing for Microservices with Docker and TestContainers

Talkat Devoxx Ukraine 2021 · 2021-11-19..11-20· [testing, microservices]
links:none on file
slides:none on file

Node.js user service uses MongoDB and Redis and the test suite boots real Docker images so one test command both starts containers and runs JUnit-style integration tests. TestContainers uses a generic container API to pull images and inject connection strings, the demo runs self-contained MongoDB and Redis and four integration tests pass even after the cloud DB is disconnected. Downsides are longer run time and reliance on Docker Hub availability, but the setup removes flaky CI and local dependency issues.

AI-written summary · about

  1. 0:00Introduction
  2. 3:25Testing pyramid evolution
  3. 7:47TestContainers concept
  4. 14:33Live demo setup
  5. 21:11Test results and benefits
  6. 22:34TestContainers modules
  7. 24:42Pros and cons
  8. 26:05Closing and contact
~/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.