News Feed
Jobs Feed
Sections




Recent Jobs

News Archive
Michelangelo van Dam's Blog:
Unit testing with Zend Framework 1.8+
November 02, 2009 @ 10:46:37

In a new post to his blog Michelangelo van Dam talks about a presentation he gave on testing Zend Framework applications (slides) and shares some of the code samples and techniques he mentioned.

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.

0 comments voice your opinion now!
zendframework unittest presentation



Similar Posts

Zend Developer Zone: Zend_Acl and MVC Integration Part II (Advanced Use)

Alex Netkachov's Blog: A quick survey - PHP portlet and portal

Sebastian Bergmann's Blog: Tutorial at ZendCon 2007

PHPImpact Blog: Dependency Injection in Zend Framework

Rob Allen's Blog: Zend_Filter_Input / Zend_Validate Messages


Community Events









Don't see your event here?
Let us know!


microsoft opinion codeigniter podcast release symfony wordpress job zendframework sqlserver conference developer drupal facebook feature extension joomla windows framework performance

All content copyright, 2010 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework