Junit-compatible XML output
I have another patch for cram which adds JUnit-compatible XML output for the test results. The resulting XML file can be read in to a continuous integration system such as Hudson or Bitten to record the test results.
The patch is available at https://bitbucket.org/kisielk/cram-mq/src/tip/xml_report
I'm not sure if I've got a feel for your coding style yet, so perhaps the implementation isn't how you would prefer but I've tried to keep it to the spirit of the existing code.
I imagine it would be somewhat cleaner with the use of some OO concepts for the test runner, but I didn't want to undertake any major refactoring.
As for testing, so far I've only update the existing test to check for the --xml option in the --help string.