News Feed
Sections




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

Chris Hartjes' Blog:
A New Way Of Judging Frameworks Where are the tests?
October 10, 2008 @ 08:46:01

In this new post to his blog Chris Hartjes suggests a new way to judge frameworks - how easy they make it to write unit tests against them and their resulting applications.

As a project for work gets ready for an alpha release, I've managed to eliminate all the serious bugs and now have some time for what should've been part of the project from the beginning: writing tests. [...] Since I'm using Code Igniter instead of CakePHP for this project (did I mention that I inherited the project and couldn't switch?) I started looking into the culture of testing surrounding Code Igniter. It's weaker than a newborn baby.

He tried to find anything he could use to write tests against the CodeIgniter application and finding fooStack as an easy to use tool for the job. This was what made him wonder how other frameworks stack up in the "has good unit testing functionality" category. He briefly covers four of them - CodeIgniter, Zend Framework, CakePHP and Symfony.

So now when you start comparing frameworks to each other, I think it's important you also consider how much effort has gone into creating tests for the core functionality of that framework. A well tested framework should mean far less surprises when using it.
0 comments voice your opinion now!
framework unittest codeigniter zendframework symfony cakephp judge framework


blog comments powered by Disqus

Similar Posts

Community News: Zend Framework IRC Channel Launched - #zftalk on FreeNode

The Bakery: Seven New Articles/Tutorials

Zend Developer Zone: Upcoming Zend Webinars

Qafoo Blog: Testing legacy code

PHPHacks.com: 10 PHP Frameworks compared


Community Events





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


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

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