Userland PHP Code Coverage with run-tests.php

From: Date: Sun, 05 Feb 2012 21:27:46 +0000
Subject: Userland PHP Code Coverage with run-tests.php
Groups: php.qa 
Request: Send a blank email to php-qa+get-66077@lists.php.net to get a copy of this message
Hello QA team. With some help, I recently made and successfully ran some phpt tests with run-tests.php. The tests however are not for PHP, but for a PHP PEAR2-style package. I wanted to ask how do I go about generating a code coverage report though? There doesn't seem to be a (documented?) switch about it like in PEAR, Pyrus or PHPUnit. If you want to take a look at the actual code, the package is currently available at https://github.com/boenrobot/Cache_SHM/ Regards, Vasil Rangelov

« previous php.qa (#66077) next »