News Feed
Sections




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

Debuggable Blog:
Code Coverage Analysis soon in CakePHP - Test How Well You Test
May 01, 2008 @ 11:19:54

In a new post to the Debuggable blog, Tim Koschutzki talks some about the work he's been doing on the code coverage analysis for the upcoming CakePHP release:

There are several different kinds of criteria to code coverage. The two most important ones are line coverage (or statement coverage as wikipedia puts it) and path coverage. [...] So how is it going to work? Pretty simple actually. Whenever you run a CakePHP test case Cake assembles information in the background about which lines of your subject-under-test are called.

He includes a few screenshots of the code coverage being run and the end result of the runner with the percent covered.

0 comments voice your opinion now!
coverage cakephp framework test unittest


blog comments powered by Disqus

Similar Posts

Paul Jones: Publish Your Failures; or, The Way Of All Frameworks

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

Chris Shiflett\'s Blog: Zend Framework Webcast

Chris Hartjes' Blog: Monkey-patching Is for Closers

Zend Developer Zone: Zend Framework Hidden Gems: Zend_Config


Community Events





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


library opinion zendserver symfony tips community package list language update deployment install release framework introduction api series laravel podcast interview

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