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

Padraic Brady's Blog: OAuth Specification and Zend Framework/PEAR Proposal

Stuart Herbert\'s Blog: Zend Framework and the Contributor License Agreement

PHPHacks.com: 10 PHP Frameworks compared

Matthias Noback: Experiences with PHP Open Source Software in a Symfony-Friendly Environment

Chris Cassell's Blog: Creating Magic Methods in PHP


Community Events

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


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

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