~/talk

Writing Tests for the Long Term

TalkinFrenchat Forum PHP 2017 · 2017-10-26..10-27· [testing, developer-experience]
links:none on file
slides:none on file

Practical guidelines for writing PHP tests that remain useful over time, focusing on maintainability and robustness. Covers testing techniques, structuring test suites, and practices to avoid brittle or hard-to-maintain tests so tests continue to add value as the codebase evolves.

AI-written summary · about

  1. 0:00Beginning
  2. 6:45What is a test?
  3. 10:37Parts of a test
  4. 11:24Coupling problem
  5. 13:55Object equality problem
  6. 15:43The endives
  7. 18:02The gratin
  8. 23:47Don't depend on the system
  9. 28:20Use builders
  10. 31:04Use a data provider
  11. 34:57Questions
~/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.