News Feed

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

Leonid Mamchenkov's Blog:
Unit tests with CakePHP
April 22, 2010 @ 13:28:18

In a new post to his blog Leonid Mamchenkov mentions some of the things he came across when writing up some unit tests with CakePHP to help out other developers for their future testing adventures.

I've spent a large part of yesterday setting up the testing environment for a CakePHP project. As always, every time I do something that I have done before, I wanted to do it better, using all the experienced that was acquired previously. And this often leads to the discovery of new things '" both good and bad. Here is a record of what I've learned yesterday.

He mentions three major issues - the memory limit that can sometimes be hit when running "All Tests", working with real database data for your fixtures and a bug he came across when working with the MySQL schema generator and timestamp columns.

0 comments voice your opinion now!
cakephp framework unittest

blog comments powered by Disqus

Similar Posts

Engine Yard Blog: Engine Yard Sponsors the Lithium Framework

Jonathan Snook's Blog: CakePHP, is it worth it? Interview With PPI - The PHP Meta-Framework

Matthias Noback: Test Symfony2 commands using the Process component and asynchronous assertions Demos, Demos Everywhere

Community Events

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

release series podcast package zendserver install deployment opinion library bugfix language symfony voicesoftheelephpant community introduction interview unittest api laravel framework

All content copyright, 2014 :: - Powered by the Solar PHP Framework