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.

Read in Full

This article was originally published in the April 2018 issue of php[architect] magazine. To read the complete article please subscribe or purchase the complete issue.

Leave a comment

Use the form below to leave a comment: