PHP Architect · Vol 17, Issue 4 · April 2018
PHPUnit Worst Practices
by Victor Bolshov
I've been working with PHPUnit a lot, probably since 2007. Unit testing and automatic testing in general is important, and it becomes even more important when it comes to team play. Unfortunately, in different teams that I have worked in, I often observed a situation when tests don't receive all the attention they deserve, sometimes way too little attention. In this article I'm gonna cover certain things that you should avoid in your tests, the mistakes that are still often made even by experienced developers.
The full article is in PHP Architect Vol 17, Issue 4. Subscribe to read it and every new issue.