~/talk

Mock my infrastructure! Using Testcontainers for better integration tests.

Talkat EclipseCon 2022 · 2022-10-24..10-27· [testing, developer-experience]
slides:none on file

Demo shows using Testcontainers with Java and Spring Boot to start real Postgres and a custom MinIO container, inject dynamic JDBC URL/credentials, and run disposable integration tests that start in about two seconds. Slow services like Camunda take minutes so the demo uses reusable containers to avoid repeated startup. Tests run fast enough for CI the example project keeps full-suite builds under ~10 minutes and created buckets and DB rows successfully during each run.

AI-written summary · about

  1. 0:00Testcontainers intro
  2. 3:14Integration tests hard
  3. 5:47Testcontainers with Spring Boot
  4. 10:32Replace manual DB setups
  5. 13:28Dynamic properties for containers
  6. 17:13PostgreSQL in tests
  7. 19:50Custom MinIO containers
  8. 23:36Speed and reliability
  9. 25:22Reuse slow containers
  10. 27:36Daily benefits
  11. 29:46Q&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.