[Buildbot-devel] Wanted: buildbot.steps.shell.RSpec

Matisse Enzer menzer at apple.com
Wed Nov 16 17:09:44 UTC 2011


I'm wondering if anyone is working on an 'RSpec' buildstep?

Something understands the output of rspec perhaps similar how the PerlModuleTest step understands Test::Harness?

I took look at the PerlModuleTest step and a naive approach might be based on a regex that parses the output from rspec:

>>> import re
>>> logline='556 examples, 0 failures, 4 pending'
>>> r = re.compile('(\d+) examples, (\d+) failures, (\d+) pending')
>>> r.findall(logline)
[('556', '0', '4')]

and then call setTestResults as appropriate.

If no one is working on one then I'll see about getting permission to post-back whatever I come up with.

-M






More information about the devel mailing list