~/talk

Integration and end-to-end testing with TestContainers-Go

Talkat GoDays 2020 · 2020-01-21..01-23· [testing, devops-and-delivery]
links:none on file
links:none on file
slides:none on file

Shows TestContainers-Go spinning real Docker Postgres and Redis, building service images from Dockerfiles, wiring a shared Docker network and calling services over internal URLs; demos run unit-style integration tests and an end-to-end scenario with two services plus databases. Uses the docker client, exposes random host port mapping to avoid conflicts, demonstrates waiting strategies and built-in cleanup via a registry sidecar, builds images on each run, and the demos complete successfully with containers removed afterward.

AI-written summary · about

  1. 0:00Introduction to TestContainers-Go
  2. 1:06Why integration tests matter
  3. 5:42Challenges with manual Docker setups
  4. 8:20How TestContainers-Go solves issues
  5. 14:47Demo: Basic Postgres integration
  6. 19:30Demo: End-to-end testing setup
  7. 28:33Demo: Running multi-service tests
  8. 35:28Q&A on database management
  9. 37:37Q&A on environment complexity
  10. 40:15Q&A on resource usage
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 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
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
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.