News Feed
Sections




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

Mambo Foundation Blog: Baking Mambo

Tobias Schlitt's Blog: Defining a framework

Chris Hartjes: Test Spies and Mockery

php|architect: Zen(d) and the Art of Email

Zend Developer Zone: Zend Framework Hidden Gems: Zend_Db


Community Events





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


laravel voicesoftheelephpant introduction language symfony community list series developer tips library zendserver podcast api bugfix framework deployment conference release interview

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