PHP Architect · Vol 17, Issue 12 · December 2018
How to Learn PHP Unit Testing With Katas
Sometimes code is first tested when the unfortunate client or user feels like using the feature and tests the developer’s work. Hopefully, they’re not disappointed. That's why you should be interested in unit testing and Test-Driven Development (TDD)---because it makes your life as a programmer better. It would have saved me hours of work in situations like those outlined in the last paragraph. TDD and automated testing let us focus on what we're there for: solving complicated problems with code and leaving the computers to do more of the rest.
The full article is in PHP Architect Vol 17, Issue 12. Subscribe to read it and every new issue.