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.

I’d like to start this post by saying that I really didn’t expect there to be so many JavaScript related posts on this site, but it’s just the area that I’ve spent more time developing in and finding interesting things to share about lately.

With that said I found this excellent Firefox extension called FireBug by Joe Hewitt last week, which is an excellent replacement to the default Firefox JavaScript console.
Continue reading this entry »