News Feed
Sections




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

Matthew Weir O'Phinney's Blog:
Getting XDebug working with PHPUnit for code coverage reports
December 28, 2006 @ 15:02:00

After trying to get code coverage reports and unit testing with PHPUnit and XDebug to work, Matthew Weir O'Phinney succeeded and got the reports running. Fortunately, he's shared how he's done it and an example of how to run the report.

I've been playing with PHPUnit a lot of late, particularly with framework development. One thing that's always hard to determine is how well your code is exercised -- basically, how much of the code is tested in the unit tests?

He gives an "executive summary" of how to get XDebug working and playing nice with PHPUnit as well as something a bit more detailed, following his experience with getting things up and running.

0 comments voice your opinion now!
phpunit unit test xdebug codecoverage report phpunit unit test xdebug codecoverage report


blog comments powered by Disqus

Similar Posts

Zend Developer Zone: Creating Code Coverage Statistics with xdebug

Derick Rethans' Blog: The first Release Candidate of Xdebug 2

Till Klampaeckel's Blog: Cooking PHPUnit (and a chef-solo example on top)

Michelangelo van Dam's Blog: Quality Assurance on PHP projects - PHPUnit part 1

Ilia Alshanetsky's Blog: PHP 5.2.0RC6 is out!


Community Events





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


conference voicesoftheelephpant interview unittest opinion version community symfony extension composer configure podcast api list release install introduction laravel series language

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