Unit Testing your HTTP Requests

A couple days ago, Till Klampaeckel just posted a very interesting plugin for PHPUnit that helps you debug your Zend Controller testcases by providing header information. He’s posted the code on GitHub and provided a real-world example of how to use the plugin for debugging your unit tests effectively. This approach takes advantage of the event-listener architecture of PHPUnit.