News Feed
Jobs Feed
Sections




News Archive
Symfony Blog:
Unit Testing your Models
October 09, 2008 @ 10:20:00

Symfony developers out there will be happy to know that, since the release of symfony 1.1, writing unit tests for your models has been made even easier.

Writing unit tests for your Propel or Doctrine model is much more easier as of symfony 1.1. In this tutorial, you will learn some great tips and best practices to write better tests for your models.

The tutorial walks you through the creating of a simple test - evaluating a few criteria for the database contents. The entire thing is contained inside of YML files and is easily run via the sfConfig and integrated Propel functionality.

1 comment voice your opinion now!
unittest model symfony framework yml sfconfig propel


blog comments powered by Disqus

Similar Posts

DevShed: Building a Content Management System with Code Igniter

PHPMaster.com: The MVC Pattern and PHP, Part 2

Symfony Project: What do you use symfony for?

Sebastian Bergmann\'s Blog: AspectPHP

DevShed: Working with the Active Record Class in Code Igniter


Community Events











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


functional podcast language object conference unittest framework phpunit tool development series introduction release community interview example code zendframework2 testing opinion

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