News Feed
Sections




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

Greg Beaver's Blog:
Code Coverage Reporting using PEAR, PEAR2, phar, and sqlite3
April 14, 2009 @ 12:08:08

Greg Beaver has a new post reporting on his latest efforts to improve the Pyrus PEAR installer and to make it a more strong, stable and robust end result.

One of the problems I found when designing the new code for PEAR 1.4.0 (back in the day) was that it was very difficult to determine whether changes would break things. The main problem revolves around the colossal size of the test suite. [...] This is a real problem when trying to develop with any kind of flow. If, after every change, one needs to sit through 35 minutes of tests, one will never develop anything of substance.

What he wanted was an application that could detect only the files modified and tests those with the results put into the code coverage report. To fill the need, he created test-modified.php to run just the phpt tests needed.

0 comments voice your opinion now!
codecoverage report phpt unittest pear phar sqlite custom


blog comments powered by Disqus

Similar Posts

Greg Beaver's Blog: Pyrus, PEAR2 and web code coverage report for phpt-based tests

Community News: Latest PEAR Releases for 04.09.2007

PHP-Tools Blog: Testing FIT

Sebastian Bergmann's Blog: Stubbing Hard-Coded Dependencies

Marco Tabini's Blog: 5 PHP 5 features you can't afford to ignore


Community Events





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


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

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