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

SitePoint PHP Blog: Rasmus Lerdorf - Web 2.0\'s John Wayne

Zend: Zend Framework Database Access Webinar (Oct 31st, 2007)

Jackson Miller's Blog: Is PHP In Trouble?

International PHP Magazine: Poll: Which is your favorite trick in running Symfony with Subversion?

Padraic Brady's Blog: Another OAuth Library Is Born (Zend_OAuth Proposal)


Community Events





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


code interview introduction project series wordpress application library bugfix community api list threedevsandamaybe release laravel framework language developer configure podcast

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