News Feed
Sections




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

Volker Dusch's Blog:
Textual code coverage information for PHPUnit
November 25, 2011 @ 16:11:41

In a new post to his blog Volker Dusch points out a new feature in a recent release of PHPUnit, the popular unit testing framework for PHP - textual code coverage details.

Three weeks ago PHPUnit 3.6 was released and it has a little new feature you might have missed until now. PHPUnit can now show you code coverage information on the command line.

Options for the report output include: colorizing, writing the output to a file, including a project summary, namespace separation and package (using the @package phpdoc tag) information. He includes a use case he's found for it - small projects where you can cover the whole codebase quickly (with a "watch" command example filtering based on a certain class).

0 comments voice your opinion now!
textual code coverage report phpunit tutorial feature summary


blog comments powered by Disqus

Similar Posts

PHPBuilder.com: Build a PHP Link Scraper with cURL

DevShed: Performing Strict Validation with the Code Igniter PHP Framework

Jani Hartikainen's Blog: Zend_Acl part 2: different roles and resources, more on access

phpRiot.com: Implementing a WebDAV filesystem with PHP and SabreDAV

SitePoint PHP Blog: Nginx, PHP5.5 and Phalcon on OpenShift


Community Events





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


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

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