ZF-2835: Create PHPUnit test case for Zend_Controller
Description
While testing against Zend_Controller is possible, and you can use the examples in the Zend_Controller test suite to set things up, it would be useful to have a PHPUnit Test Case extension for testing your controllers. It should:
- have scaffolding for setting up and tearing down the front controller environment, including the ability to introduce your bootstrapping methods
- have test versions of the request and response objects that allow you to send set request headers as well as test response headers
- methods to examine the DOM of the response body, including: ** pulling items by specific dom IDs (including testing existence of and counting) ** pulling items by css classes (including testing existence of and counting) ** pulling items by element type (including testing existence of and counting)
Comments
Posted by Wil Sinclair (wil) on 2008-03-21T17:05:30.000+0000
This issue should have been fixed for the 1.5 release.
Posted by Matthew Weier O'Phinney (matthew) on 2008-05-15T13:24:03.000+0000
This issue is targetted for the 1.6 release.
Posted by Matthew Weier O'Phinney (matthew) on 2008-11-05T08:22:29.000+0000
Released with 1.6.0
Posted by Wil Sinclair (wil) on 2008-11-13T14:10:16.000+0000
Changing issues in preparation for the 1.7.0 release.