1. Code
  2. Coding Fundamentals
  3. Testing

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.
Scroll to top
1 min read
This post is part of a series called Test-Driven PHP.
The Newbie's Guide to Test-Driven Development

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.

Please accept marketing cookies to load this content.
Choose 720p for the clearest picture.

Show Links