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.