~/talk

Finding the right testing tool for the job

Talkat PHP Serbia Conference 2016 · 2016-05-28..05-29· [testing, php]
name:S.Bergman
links:none on file
name:C.McNulty
links:none on file
slides:none on file

Four practical test categories are compared with concrete tools and tradeoffs: PHPUnit for unit and service-level tests, Behat (with Mink) for quick UI/acceptance specs, DBUnit for database integration, and selenium/ghost-inspector for end-to-end checks. A tracing tool auto-generates "characterization" tests and produces a couple hundred cases in minutes; full Selenium suites can run 5–30 hours. Recommendation: prefer service-level acceptance tests, keep a tiny UI subset to verify wiring, write unit tests for internal design and use integration tests only where real infrastructure must be exercised.

AI-written summary · about

  1. 0:00Introduction and philosophy
  2. 13:12Characterization tests
  3. 32:51Acceptance tests
  4. 52:49Integration tests
  5. 1:02:52Unit tests and conclusion
~/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.