News Feed
Jobs Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

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


blog comments powered by Disqus

Similar Posts

Rob Morgan's Blog: Howto Log Directly to Your OS X Terminal using Zend Framework and NodeJS

Rob Allen's Blog: Goodbye Zend.php

KillerPHP.com: Zend Framework Components Part 2: Zend_View

Raphael Stolt's Blog: Scraping websites with Zend_Dom_Query

Zend Developer Zone: Deleting indexes from Zend_Registry and why you shouldn't do it !


Community Events











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


composer performance security framework unittest application symfony2 package facebook opinion component introduction language database hack podcast release series hhvm install

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