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

Richard Thomas' Blog: Solar Framework Shorts -The rabbit hole that is Solar.config.php

Reddit.com: Frameworks, is the learning curve too steep

Symfony Blog: Call the expert: A refactoring story (in Five Parts)

Paul Jones' Blog: What Does This Say About Unit-Testing in PHP Land?

Qafoo.com: Practical PHPUnit: Testing XML generation


Community Events





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


laravel threedevsandamaybe install list language refactor configure unittest symfony2 framework testing podcast community opinion interview release introduction series developer code

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