Weblog

Lightweight Continuous Integration for PHP

This post describes a simple, lightweight strategy for implementing Continuous Integration on PHP-based software projects. This approach happens to use Subversion for version control, PHPUnit for unit testing, and Phing to automate the processes involved, but hopefully the principles are generally applicable.

The post won't strive to be exhaustive or encyclopaedic, rather it will present a simple proof-of-concept and a brief overview of the tools that are available to PHP developers. But first some background...

Continue reading Lightweight Continuous Integration for PHP »

Posted on Thursday, the 20th of August, 2009 | permalink | comments (5)

Unit Testing Code which Consumes SOAP Services

One of the trickiest aspects of unit testing or Test Driving an application's code is testing those parts of the system which depend on an external system, such as a database or a SOAP service.

In this post I'll outline an approach to testing a class which happens to communicate with a third-party SOAP service using PHP's built-in SoapClient class. Hopefully, the principles involved will be applicable to the more general case of testing code which relies on an external system.

Continue reading Unit Testing Code which Consumes SOAP Services »

Posted on Friday, the 10th of April, 2009 | permalink | comments (5)

Presentations on Slideshare

I've been doing a bit of presenting at work recently, which has meant getting my head around making up slides (using OpenOffice, of course). It all feels a little bit Dilbert, in a way.

Anyway, there's nothing particularly groundbreaking or PlayPhone-specific about these slides, so I've put them up on Slideshare in case anyone fancies a look.

Continue reading Presentations on Slideshare »

Posted on Friday, the 22nd of August, 2008 | permalink | comments (0)

PHPTuring

Posted on Monday, the 31st of March, 2008 | permalink | comments (0)

JsUnit

Posted on Tuesday, the 8th of May, 2007 | permalink | comments (0)