Improved Test Assets for Zend_Tool Generated Projects in ZF 1.11.4
This article was originally published at Planet PHP
on 8 March 2011.
As of the 1.11.4 release of Zend Framework, the generated testing stubs just got a little saner. At the time of Zend_Tool's initial release, the standard application structure you are familiar with today was just being released as well with Zend_Application. In addition, the testing controllers from this newly standardized application layer, were too, in their infancy. In short, we had known that the stubs being produced in the tests/ directory were incomplete, but we were waiting to see if there were improvements to Zend_Test on the horizon that might improve the way controllers were tested- and to see if these new methods would become best practices.