Since then I got a lot of questions how to set up a testing environment for Zend Framework applications that uses version Zend Framework 1.8 or newer. We start off by setting our environment best fitted for our unit testing. I use a virtual linux system for this, using VMWare, but with some extra background research these global settings can be applied for your own (test) environment as well.
He includes the code/XML to set up the PHPUnit instance, a TestHelper script to set up the environment correctly and the controller and its test case. Screenshot output is included for both the test runner and the code coverage report.