~/talk

Lightning fast tests

Talkat Web Summer Camp 2016 · 2016-08-31..09-03· [testing, developer-experience]
slides:none on file

Shows how a Mastermind game is built with TDD to keep test runs in seconds: unit tests cover domain logic, only adapters get integration tests, and the heavy parts are swapped for in‑memory versions. Uses PHP 5.6/7, PHPUnit and Prophecy mocking for fast doubles, introduces a decoding boards repository interface and a session adapter that is the single place touching Symfony session. The design reduces end‑to‑end tests and keeps the suite fast and reliable.

AI-written summary · about

  1. 0:00Introduction
  2. 3:20Workshop setup
  3. 9:37Mastermind game design
  4. 14:16Code Peg class exercise
  5. 19:12Stubbing and test doubles
  6. 31:55Dependency inversion principle
  7. 45:08Dependency injection vs inversion
  8. 53:50Final exercise
  9. 56:05Test pyramid and architecture
  10. 1:02:53Q&A and closing
~/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.