concept testing in category php

This is an excerpt from Manning's book PHP in Action: Objects, Design, Agility.
Automated tests are the key to refactoring. They make it possible to test the code between each small step in refactoring. Doing this kind of repeated testing manually would be far too time-consuming. So if you have no automated tests, you will put off testing until you are finished refactoring. When you finally start testing, you will likely find—or fail to find, depending on your thoroughness—several bugs. And likely there will be one or more bugs that are hard to find because you don’t know where they are located.
The testing chapters in this book primarily deal with the process, principles, and logic of testing. Therefore, we’ve saved some juicy details for dessert, focusing on how to do specific things in the two most popular unit testing frameworks, SimpleTest and PHPUnit.