News Feed
Sections




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

Web Builder Zone:
Zend_Test for Acceptance TDD
May 25, 2010 @ 09:29:51

On the Web Builder Zone (of DZone) Giorgio Sironi has posted an article looking at the Zend_Test component of the Zend Framework and how to use it for acceptance test-driven development.

Acceptance Test-Driven Development is an Agile technique that extends the test-first approach to the development of the front end of an application. The mechanics of Acceptance TDD are clear: first you write a test which defines the goal of your development, which is basically the feature you're adding to your application. As with all TDD variants, this test must fail.

With the help of the Zend_Test component, your tests can execute through the full MVC stact of your application (including views) to check to see if the resulting content matches certain criteria. He includes a few code examples showing content searching (contains), validating the query string and checking for a redirect.

0 comments voice your opinion now!
zendtest acceptance testdriven development tdd zendframework


blog comments powered by Disqus

Similar Posts

Ralph Schindler's Blog: Composite Rowsets For Many-To-Many Relationships Via Zend_Db_Table

Alessandro Nadalin's Blog: Behaviour what?

Matthew Weir O'Phinney's Blog: svn:externals (and the Zend Framework)

Dagfinn Reiersol's Blog: Fake it and raise your IQ

PEAR Blog: PEAR Development on Github


Community Events

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


symfony2 configure introduction example laravel framework php7 interview release community conference part2 podcast language voicesoftheelephpant opinion api performance series application

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