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

Padraic Brady's Blog: Unit Testing: Multiple Assertions And Lazy/Shallow Testing Are Evil

Zend Developer Zone: Zend_Tool and ZF 1.8

Felix Geisendorfer's Blog: Release early, Release often, A SVN/FTP Development Task

Volker Dusch's Blog: An introduction to PHPUnits @covers annotation

Sebastian Bergmann's Blog: Even More Work on Reporting in PHPUnit 3


Community Events





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


opinion unittest testing framework wordpress interview release install configure refactor developer laravel list community introduction series threedevsandamaybe language podcast code

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