I’ve recently started to get into using Test Driven Development in almost everything that I am able to because I’ve begun to really see and experience the benefits that it brings to development. The basic advantages of TDD are covered very well in an article by Robert Blackburn, Test Driven Development with ColdFusion Part I: An Introduction to Unit Testing so I won’t cover them here.
I’ve been playing around with the xUnit family of testing frameworks in PHP, Coldfusion and JavaScript and really like the way they handle testing. However having been spoilt slightly by CFCUnit and JSUnit with their HTML GUIs I found the text runner in PHPUnit to be lacking for my needs.
So taking inspiration from the interface of CFCUnit I created the PHPUnit2 HTML Runner.