~/talk

Scala, Docker and Testing oh my!

Talkat Scala.IO 2016 · 2016-10-27..10-28· [testing, devops-and-delivery]
links:none on file
slides:none on file

Uses Docker to run lightweight stubs of downstream services, ties image creation into the build with sbt-docker integration, and orchestrates per-suite containers with docker-it-scala per-suite orchestration so tests start only the resources they need. Builds simple WireMock-style stubs in containers, measures behaviour with ApacheBench, and reports that end-to-end integration cycles fall from about two hours to ten minutes. Results include reproducible test fixtures, performance curves and business-relevant capacity numbers.

AI-written summary · about

  1. 0:00Intro
  2. 0:55Agenda Introduction to Docker
  3. 1:35Intro to Docker
  4. 1:48Virtual Machines
  5. 3:34Enter Docker
  6. 4:59Background: Our Service
  7. 6:12Dependency Nightmares
  8. 6:41Isolation is Key
  9. 7:09Decompose the Monolith
  10. 8:01Identify Services we are Dependent Upon
  11. 9:47Stub the Contract
  12. 11:22Run your Tests
  13. 12:25Dockerizing Scala
  14. 12:35Normal Docker flow
  15. 14:13Integrating Docker with sbt
  16. 15:05Setting the Image Name
  17. 16:59Configuring the Dockerfile
  18. 18:11Creating and Publishing the Image
  19. 19:38Integration Testing with Docker
  20. 20:54Container Orchestration during Tests Orchestration platforms
  21. 21:41Using the Docker Java API
  22. 22:45Using reactive-docker
  23. 23:32Caveats and Recommendations
  24. 24:46Introducing docker-it-scala
  25. 25:57Defining a Resource Container
  26. 26:16Defining Resource Container (Neo4j)
  27. 27:08Defining Resource Container (PostgreSQL)
  28. 27:56Writing Your Tests
  29. 28:44What Did We Achieve?
  30. 29:03The Effect
  31. 31:09Performance measurements (from Stubbed Tests)
  32. 35:04Summary
  33. 36:13Acknowledgements & Notes
~/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.