Book · PHPStan extension · Agent skills
PHPUnit Best Practices
The PHPUnit manual tells you what every method, attribute, and configuration setting does. This book tells you which of them to reach for, and why.
The recommendations that the manual states in passing, collected in one place and organised around moments in your work: structuring a test, managing its fixture, reaching for a test double, changing code that already has tests, making a slow suite fast again, and moving to a new major version. Each rule is followed by the reason behind it.
- Coming in 2027
- Ebook in English
- With an extension for PHPStan
- With skills for coding agents