Unit tests for our design rules
summary
Shows how to write unit tests to enforce and validate software design rules in PHP projects, using automated tests to check architecture and coding conventions. Describes concrete techniques and tooling for implementing those tests within a PHP development workflow.
AI-written summary · about
chapters (13)
- 0:00Introduction
- 2:14Memory and learning
- 7:32Documentation importance
- 9:57Context loss in projects
- 13:49Automating team rules
- 16:16PHPStan rule creation
- 19:28PHPUnit for architecture tests
- 23:20Dependency checks
- 27:12Preventing regressions
- 30:41Enforcing migrations
- 31:48Refactoring through rules
- 33:33Future of the tool
- 35:44Q&A
