~/talk

TestContainers: Integration Testing Without the Hassle

Talkat JavaDay Ukraine 2017 · 2017-11-04..11-05· [testing, devops-and-delivery]
slides:none on file

Project shows using TestContainers (via docker-java) to run real Docker images inside unit tests, spawning ephemeral containers with random host ports so parallel runs don’t clash. Examples include a Redis container and a custom image that receives an instrumenting Java agent; containers auto-download, initialize, inject files, run tests and clean up. Claim: integration tests become repeatable and isolated — previously a suite took ~2.5 months to run sequentially — and the setup demonstrably works with Docker Compose and network linking.

AI-written summary · about

  1. 0:00Introduction
  2. 1:15Why integration testing
  3. 3:03Integration test problems
  4. 5:14Test environment needs
  5. 7:42Docker for testing
  6. 8:49TestContainers solutions
  7. 13:06What is TestContainers
  8. 16:02Redis example
  9. 23:54Microservice testing
  10. 28:58Mock servers in TestContainers
  11. 33:19Isolation in tests
  12. 34:43Java agents testing
  13. 41:32Groovy advanced example
  14. 45:38Adopting TestContainers
  15. 46:20Q&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.