Matthew Turland's Blog: Unit Tests and Code Coverage with PHPT

Courtesy PHPDeveloper.org  Mon, 05/26/2008 - 07:54

Matthew Turland has posted about some of his experience with PHPT tests with PHPUnit .

Recently, I wrote some for a project and realized that I wasn't aware of how to generate code coverage reports.

Many thanks to the very helpful patrons in the #pear channel on EFNet for helping me to get this working.

He show his setup process (on Kubuntu) - grabbing the PEAR package, installing it and...

Sponsors


 

Related items

"Are you guys here on a student trip?" - DPC08 - Scott MacVicar
I'll explain the quote in the title later in this post, but first my own quick writeup of the Dutch PHP Conference that was held in Amsterdam last...

Stefan Priebsch's Blog: PHPUnit test and Code Coverage...
Stefan Priebsch has posted an example of how he uses PHPUnit "manually" to reduce the overhead (and added complexity) of calling phing. Instead of...

PHPUnit Motivational Poster - ThinkPHP /dev/blog - PHP
Sometimes developers aren't motivated to write a lot of unit tests. Now we got some help when your phpunit code coverage goes below 80%. A PHPUnit...

PHPUnit 3.3.0 RC1 - Sebastian Bergmann
I have rolled a release candidate of PHPUnit 3.3. Highlights of this release include:Improvements and Fixes for...

Ibuildings Blog: Zend Framework testing: emulating HTTP calls
On the Ibuildings blog today Lorenzo Alberton takes a look at the Zend Framework, specifically as to how it can mimic regular HTTP calls with the...


 

Post new comment

The content of this field is kept private and will not be shown publicly.
computer-internet.marc8.com