News Feed
Sections




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

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

Padraic Brady's Blog: Zend Framework: Surviving The Deep End - Performance Optimisation

Sebastian Bergmann's Blog: Tutorial at ZendCon 2007

Reddit.com: PHP library authors: Have you considered to arrange security bug bounties?

Damian Sromek's Blog: [How to] Run PHPUnit tests using database 10x faster

Jim Plush\'s Blog: My-Bic Ajax Framework Video Tutorials Online


Community Events

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


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

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