64x64 icon dark hosting
Choose a hosting plan here and get a free year's subscription to Tuts+ (worth $180).

It's Time To Dig In


Start a hosting plan from $3.92/mo and get a free year on Tuts+ (normally $180)

This post is part of a series called Test-Driven PHP.
The Newbie's Guide to Test-Driven Development

Let’s be honest: the PHP community hasn’t been as quick to the test-driven development pattern as other languages, like Ruby and Python. We hope to help change that on Nettuts+! In this session, you’ll learn both why and how to test-drive your applications using the fantastic PHPUnit.

Don't expect all of these concepts to make perfect sense after the first read. No, it'll take some time, but we at Nettuts+ strongly encourage you to stick with it. Even when testing seems too difficult and time consuming to bother with, stick with it. Before long, you'll be a testing evangelist!

Let's get started with lesson one: The Newbie's Guide to TDD.