PHPImpact Blog: TDD with Symfony: The first test always fails

Courtesy PHPDeveloper.org  Wed, 07/02/2008 - 09:33

On the PHP::Impact blog, Federico Cargnelutti has posted about test-driven design, specifically with the Symfony framework.

Symfony is one of the few PHP frameworks that gives you basic tools for starting to write tests.

[...] Symfony also provides an extension of this class called sfTestBrowser, designed especially for functional tests, which has all the abilities of the sfBrowser object plus some smart assert methods.

He uses this sfTestBrowser object to run an example...

Sponsors


 

Related items

PHPFreaks.com: Regular Expressions (Part1) - Basic Syntax
PHPFreaks.com has posted part one of a series of tutorials covering some of the basics of one of the more powerful features in any language -...

Plugins for php frameworks - Jonathan Street
A week or so ago I came across django-monetize. It’s a plugin for the django python framework which makes it quick and easy to display adverts on a...

Symfony Blog: Support symfony inclusion in NetBeans
Sun is trying to decide which of the PHP frameworks is wants to support in its next version of NetBeans. The symfony group wants you to vote for...

Fall Conferences - Derick Rethans
Fall is coming up, and the means plenty of conferences. Next week there is ZendCon, where I will be speaking on search solutions for PHP and Test...

What’s Hot on Github - September 2008
What's Hot on Github is a monthly post highlighting new and/or interesting projects within the Ruby community that are hosted on Github. Github has...


 

Post new comment

The content of this field is kept private and will not be shown publicly.
computer-internet.marc8.com