News Feed
Sections




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

Xebee Blog:
Test Driven Development with Zend Framework and PHPUnit
February 08, 2010 @ 12:05:05

On the Xebee blog there's a recent post looking at test-driven development with the Zend Framework and PHPUnit. They show how they work well together and make it simpler to use TTD to create and test your applications.

Over the past few days I was going through the Zend Framework reference docs and I found myself pleasantly surprised with all that the latest version of this web application framework provides. [...] Out of the many new features, what stood out for me was the ease with which Zend Framework and PHPUnit complement and work with each other.

He talks about some of the features of PHPUnit (including dependencies, testing for exceptions and errors) and how it fits into a good deployment strategy. He shows how you can use the Zend_Test component of the framework, along with the Zend_Test_PHPUnit features, to make a sample test case. There's also an example of using the Zend_Test_PHPUnit_Db component to test database information and your backend data stores to compare them to a formatted XML document.

0 comments voice your opinion now!
ttd testdriven development zendframework phpunit


blog comments powered by Disqus

Similar Posts

Community News: Zend Framework 1.0.0 Released

Brandon Savage's Blog: Where Comments Are Useful

Federico Cargnelutti's Blog: Zend Framework DAL: DAOs and DataMappers

Raphael Stolt's Blog: Zend Framework in Action Pre-review

David Stockton's Blog: Changing ErrorController to work with AJAX


Community Events

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


api opinion version voicesoftheelephpant introduction interview php7 unittest security community language laravel laravel5 framework library series example release video podcast

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