|A.2||Organizing tests in a directory structure||495|
|A.3||PHPUnit and SimpleTest assertions||496|
|A.4||SimpleTest web test API||498|
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.
Basic examples of how to use SimpleTest and PHPUnit are available elsewhere, but just to make sure we get the mechanical aspects right and don’t get bogged down in some stupid error situation, we’ll do an ultra-simple example that is neither conceptually challenging nor useful. We’ll ...