~/talk

Dockerize your unit tests for faster feedback

Talkat phpDay 2017 · 2017-05-12..05-13· [testing, devops-and-delivery]
slides:none on file

Splits a 10K+ tests suite into module groups and runs them in parallel inside Docker micro instances using phpunit and GNU parallel, dropping end-to-end time from ~4s to about 2.6s in the demo. Captures container exit codes to report failures, avoids host-mounted logs for lower latency, and supports testing against multiple PHP versions. Provides a scriptable workflow suitable for pre-commit hooks and local fast-feedback before CI.

AI-written summary · about

  1. 0:00Start
  2. 9:10System Failures
  3. 11:30What Docker Is
  4. 12:33How Is Docker Used
  5. 19:43Execute php Unit Using Docker
  6. 32:09Pre-Commit Hook
  7. 33:22Why Do We Use Parallel
  8. 37:58Integration Test
  9. 40:00Add Group Annotation
~/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.