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

Matthew Weier O'Phinney's Blog: Testing Zend Framework MVC Applications

Developer Tutorials Blog: 4 PHP Professional Development Paths

PHP and Me Blog: How to Type Less $this in PHPUnit

Zend Developer Zone: Announcing February's ZF Bug Hunting Days

Padraic Brady's Blog: Writing A Simple Twitter Client Using the PHP Zend Framework's OAuth Library


Community Events





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


bugfix deployment developer code language interview community zendserver series introduction symfony tips api conference list development release podcast framework laravel

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