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

Knut Urdalen's Blog: Try Yii Framework for your next large-scale web 2.0 application...

Symfony Blog: Updates to the Plugin Website/Resources

Paul Jones: Publish Your Failures; or, The Way Of All Frameworks

Mike Lively's Blog: Pear Channel set up for Phake

Community News: Recent Posts from The Bakery (CakePHP)

Community Events

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

install extension xdebug interview community php7 api podcast voicesoftheelephpant example framework version opinion language laravel release library introduction series unittest

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