Blog Post

Fix ci_reporter for Test::Unit 2.0

We’ve recently moved one of our large projects to Jenkins (nee Hudson) for continuous integration. Overall it was a reasonably pleasant setup experience, but one thing kept me flummoxed for ages: getting the results from our Test::Unit run to show up correctly in the Jenkins interface as a nicely formatted Test Result – wading through tons of raw Test::Unit console output was definitely No Fun. All the information I could find on the internet pointed to installing the ci_reporter, but including that in was doing me no good at all.

Eventually I discovered that that ci_reporter has not yet been fixed to work with Test::Unit 2.1+, or with ruby 1.9.2 for that matter.

And from there, finally the answer: a 13-line patch that makes the ci_reporter magic work with recent builds of Test::Unit. Now our test output is much prettier, I’m much happier, and with luck this note will help someone else in the same situation.

Comments

Do you realize that your blog posts have no “date of posting” on them?

Leave a Comment