~/talk

Removing complexity from integration tests using Testcontainers!

Talkat Confitura 2022 · on Saturday, 2022-06-25· [testing, microservices]
slides:none on file

Claim: Testcontainers replaces brittle mocks by launching real throwaway services for integration tests, demonstrated with a Spring Boot “ratings” microservice that uses PostgreSQL 14, Kafka container and Redis generic container, all started in parallel with randomized ports. Code shows H2 failing on Postgres-specific SQL, adding testcontainers-postgresql fixes it, tests run and pass, containers auto-clean. Also shows static containers to reuse across tests and testcontainers.cloud to run Docker-less CI.

AI-written summary · about

  1. 0:00Start
  2. 43:17Docker environments
  3. 43:39Testcontainers Cloud
  4. 45:15What's next?
~/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.