Codeigniter Unit Testing with Simpletest and PHP 5.3

I'm a regular user of codeigniter-simpletest developed by Eric Barnes however I ran into a number of issues when attempting to run some features under PHP5.3, this was due to using an old version of Simpletest. I have now updated this and had my pull request accepted and merged into the main repo so that it now uses the most recent versions (1.1alpha3).

There is however one important change to note which will stop old tests working, that is the way that test classes define a label, these are optional so this only applies if you use them in your project. The name of the test is now passed through the simpletest constructor otherwise the default is to use the classname of the test.

Before

<?php
class test_users_model extends CodeIgniterUnitTestCase
{
    public function __construct()
    {
        parent::__construct();

        $this-&gt;UnitTestCase('Users Model');

        $this-&gt;load-&gt;model('users/users_model');
    }

etc...

After

<?php
class test_users_model extends CodeIgniterUnitTestCase
{
    public function __construct()
    {
        parent::__construct('Users Model');

        $this-&gt;load-&gt;model('users/users_model');
    }
etc...

I'm also working on integration with CI systems, Jenkins in particular based on this rather cool presentation: Setting up a Continuous Integration Server for Ubuntu with Codeigniter and Github