~/talk

Driving quality with PhpSpec

Talkat PHP Serbia Conference 2016 · 2016-05-28..05-29· [testing, php]
slides:none on file

PhpSpec is a class‑level SpecBDD tool that runs via Composer and Prophecy and pushes a strict TDD cycle: it auto‑generates classes, interfaces and constructors when a spec fails, it uses Prophecy for doubles and offers stubs or spies, and it can fake return values to get to green fast. It rejects testing private methods or databases, expects small iterative examples, emits readable spec documentation, and steers design toward interfaces and focused object collaboration.

AI-written summary · about

  1. 0:00Introduction to PHPSpec
  2. 1:09BDD vs TDD explained
  3. 4:19Why BDD focuses on examples
  4. 7:31PHPUnit vs PHPSpec comparison
  5. 9:16PHPSpec’s design philosophy
  6. 13:53PHPSpec 2 rewrite and evolution
  7. 16:43Writing your first specification
  8. 21:19Implementing behavior step-by-step
  9. 27:52Testing object collaborations
  10. 34:13Designing interfaces with PHPSpec
  11. 36:19Integration with higher-level tests
  12. 41:15Stubs vs mocks in PHPSpec
  13. 48:22Building a domain model
  14. 51:08PHPSpec for legacy code
  15. 52:13Open-source project insights
  16. 54:58Q&A session
~/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.