Chapter 1. Instant Hands-on Testing with PHPUnit How-to
Welcome to Instant Hands-on Testing with PHPUnit How-to. PHPUnit is one of the most widely used unit testing frameworks for PHP. It gives developers all the tools necessary to write easy-to-maintain tests. It also gives developers the ability to easily run those tests. This book will give you the knowledge necessary to use these tools in your PHP projects.
We will be going through the process of installing PHPUnit, writing some simple tests, integrating it with a new project, as well as looking into some of the more advanced functionality that PHPUnit is capable of.