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...


 

Reply

The content of this field is kept private and will not be shown publicly.