News Feed
Sections




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

Felix Geisendorfer's Blog:
Controller Testing in CakePHP
August 24, 2006 @ 19:06:01

In this new post on ThinkingPHP.org, Felix Geisendorfer talks about some of the development work that he's been doing regarding CakePHP:

My first idea was to do unit testing on Controllers. I made a little comment about it here and uploaded some of my experimental code for that. In the beginning it looked very promising. I was able to mock Models & Components and add them to the Controller. But the deeper I got into it, the more I realized: Unit Testing with Controllers is insane

To back it up he points out some of the hurdles he had to work with and includes some of the code he used to test the Controllers he had made inside of CakePHP.

1 comment voice your opinion now!
cakephp framework testing unit insane cakephp framework testing unit insane


blog comments powered by Disqus

Similar Posts

Fabien Potencier's Blog: Create your own framework... on top of the Symfony2 Components (part 6)

International PHP Magazine: Poll Question: You Did Not Know That

Paul Jones: Aura: First 1.0.0 Stable Library Releases!

IBM developerWorks: PHP frameworks, Part 1: Getting started with three popular frameworks

Jonathan Snook's Blog: Multiple Validation Sets in CakePHP 1.2


Community Events





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


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

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