Test-Driven Development in PHP: First Steps
Let's admit it: the PHP community has lagged a bit, when it comes to advocating test-driven development. We know we should, but, even to this day, a sizable portion of the community does not. In this new series of videos and tutorials, created by the Nettuts+ team, we're hoping to change that.
Trust me: it's not as tough as you think.
Lesson 1 - Setup
In this series, we'll be using Composer, a dependency manager, to install PHPUnit (or at least, the unofficial version for now). To ensure that we've installed it properly, we'll also create a quick calculator test and class.