News Feed
Sections
News Archive


Community Events
php|tek 2008 PHP Conference



Debuggable Blog:
Code Coverage Analysis soon in CakePHP - Test How Well You Test
0 comments :: posted Thursday May 01, 2008 @ 11:19:54
voice your opinion now!

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.

tagged with: code coverage cakephp framework test unittest



database application cakephp job package code pecl security developer book framework ajax zendframework releases conference zend release PHP5 PEAR mysql

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