Making PHPUnit Better
summary
Walks through a concrete rewrite of PHPUnit’s execution core that replaces brittle global state with composable TestSuite and TestRunner objects and a compact test collection representation, removes the global TestResult lifecycle, and collapses the tangled ~1500 LOC runner into a clear proof‑of‑concept. Shows the actual code changes, bench results (faster code coverage collection, Windows CI fixes), enables randomized and distributed execution, and demonstrates the new runner working end to end.
AI-written summary · about
chapters (9)
- 0:00Introduction
- 4:06PHPUnit’s journey
- 12:17Legacy challenges
- 19:21Test execution complexity
- 27:23Simplifying workflow
- 34:11Proof of concept
- 38:08Cross-platform testing
- 41:13New features
- 48:12Future outlook








