views:

176

answers:

1

I want to modify the test runner when using Ruby and shoulda. The standard runner produces output like this:

....

Finished in 0.009167 seconds

4 examples, 0 failures

As a starting point, I'd like to be able to modify this. Later, I want to create custom HTML output.

How do I get started on this? I've done a lot of googling, but can't find out where to hook stuff in. Does shoulda have anything in particular that's different to the standard Test::Unit behaviour?

A: 

I found the necessary hooks in Test::Unit.

Peter