01 Aug 2009

Subunit and JUnit

I’ve written a JUnit XML reporter for python. This allows subunit to provide glue between anything that speaks subunit (say the samba test suite) and JUnit based tools like Hudson.

I haven’t run up a demo yet, but I’ve got a backlog of things that need decent background testing, and it seems like a good time to try some new tools out.

29 Jul 2009

Faster bzr commits, and subunit.

I’ve just put up for a review two patches that when combined make ‘bzr commit FILENAME’ substantially faster. For hackers on launchpad (which I used as test data) the time drops from 1.2 seconds to 0.3 seconds. o/. One less blocker for 2.0 (this was a regression due to the changed characteristics of the 2a repository format).

This friday, at SLUG I’m giving a talk about subunit – a test streaming and activity protocol I’ve had kicking around for some years now. This allows all sorts of neat coupling and introspection that adhoc formats don’t. If you’re familiar with TAP, subunit has similarity, but is in my (biased opinion) substantially more powerful – in ways that matter. If you’re in sydney and run automated tests of [nearly] any sort, come along, I’m sure you’ll enjoy it.