~/talk

Using Docker & Compose to Simplify Integration Testing

Talkat DockerCon 2020 · on Thursday, 2020-05-28· [testing]
links:none on file
slides:none on file

Claims that containerizing tests and dependencies makes integration testing reproducible and fast and demonstrates it end to end: builds a Node/Mocha test image, runs Mongo with an Mongo init script to seed data, builds a pubsub emulator image, adds a small wait executable to gate tests until services are ready, composes them with docker-compose, maps test-results.xml via a volume, uses exit-code-from and JUnit reporting, and runs the whole flow in Azure DevOps — tests run and pass locally and in CI.

AI-written summary · about

  1. 0:00Introduction to Docker
  2. 1:50Integration testing basics
  3. 3:13Running tests in containers
  4. 6:01Why use containers?
  5. 7:45Containerizing MongoDB
  6. 10:35Using init scripts
  7. 13:35Setting up PubSub
  8. 16:16Docker Compose integration
  9. 21:07Running the full test suite
  10. 25:10Automated build pipelines
  11. 28:23Conclusion
~/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.