code coverage

Static Analysis with HipHop for PHP - Sebastian Bergmann

Planet PHP  Fri, 01/27/2012 - 13:00

In July 2010 I already blogged about the fact that HipHop for PHP, the source code transformer that turns PHP code into C++ code that can then be compiled with g++, can also be used for static code analysis to find problems in PHP source code.


 

Kurt Payne's Blog: How to Unit Test pcntl_fork()

PHPDeveloper.org  Thu, 01/19/2012 - 13:40

Kurt Payne has a new post to his blog showing how you can unit test your process forking in your PHP application (pcntl).


 

Volker Dusch's Blog: Textual code coverage information for PHPUn...

PHPDeveloper.org  Fri, 11/25/2011 - 16:11

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.


 

Unit Test Coverage For Components - Stuart Herbert

Planet PHP  Tue, 03/29/2011 - 12:00

In my Beyond Frameworks talk, I explained how a component-based architecture can help answe


 

How To Run Your Component’s Unit Tests - Stuart Herbert

Planet PHP  Fri, 03/25/2011 - 15:38

In my Beyond Frameworks talk, I explained how a component-based architecture can he


 

Testing Symfony2 - Lukas Smith

Planet PHP  Sun, 01/09/2011 - 13:06

Back when I was developing MDB2, I loved my unit tests to help me ensure that changes actually worked across different RDBMS (versions).

It was also a great way to identify issues by having users run the test suite. Actually I guess I wasn't really "unit testing" since I was actually always running against a real database.

Fast forward until today. In my current project we are aiming for 100% code coverage. Well we are not afraid of using @codeCoverageIgnore for super trivial stuff and yes I know that there is more to good tests than just coverage.


 

Testing Tools and Techniques in Python

Linux Today  Sat, 12/25/2010 - 13:04

Packt: "This article by Daniel Arbuckle, author of Python Testing, introduces code coverage and continuous integration, and teaches how to tie automated testing into version control systems."


 

ZendCasts.com: Unit Testing Action Helpers

PHPDeveloper.org  Fri, 11/12/2010 - 14:51

On the ZendCasts.com site today there's a new screencast posted showing you how to use Zend_Test to unit test the action helpers in your Zend Framework application.