Unit testing controller actions with Zend_Test_PHPUnit_ControllerTestCase
Testing controllers has traditionally been a hassle due to the requirements of setting up the bootstrap, the front controller and initiating the dispatch cycle. In June, Matthew addressed this with the release of Zend_Test_PHPUnit_ControllerTestCase way back in 2008. Later, Matthew helpfully wrote an article on how to use it and I have used that as a starting point for the information here. (Thanks Matthew!) The project I'm using is TodoIt, which is a simple ZF… continue reading.