Path: csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!aioe.org!news.stack.nl!talisker.lacave.net!lacave.net!not-for-mail From: milki Newsgroups: comp.lang.ruby Subject: Hook into rake for reporting results Date: Mon, 18 Apr 2011 16:48:58 -0500 Organization: Service de news de lacave.net Lines: 24 Message-ID: <20110418214818.GA67946@hal.rescomp.berkeley.edu> NNTP-Posting-Host: bristol.highgroove.com Content-Type: text/plain; charset=us-ascii X-Trace: talisker.lacave.net 1303163883 17260 65.111.164.187 (18 Apr 2011 21:58:03 GMT) X-Complaints-To: abuse@lacave.net NNTP-Posting-Date: Mon, 18 Apr 2011 21:58:03 +0000 (UTC) X-Received-From: This message has been automatically forwarded from the ruby-talk mailing list by a gateway at comp.lang.ruby. If it is SPAM, it did not originate at comp.lang.ruby. Please report the original sender, and not us. Thanks! For more details about this gateway, please visit: http://blog.grayproductions.net/categories/the_gateway X-Mail-Count: 381802 X-Ml-Name: ruby-talk X-Rubymirror: Yes X-Ruby-Talk: <20110418214818.GA67946@hal.rescomp.berkeley.edu> Xref: x330-a1.tempe.blueboxinc.net comp.lang.ruby:3123 Hi, I'm building an integration tool between software projects and issue trackers. What would be the best way to report test success/failures from a ruby project? I would need to be able to individually identify which tests failed, passed, or are pending (success on expected failures and fail if passing on an expected failure). I would also like to have minimal modifications if I wanted to add this tool to an existing ruby project. A report could either be written to a file or execute custom code to interact with another software package. From what I have found, it would be best to hook into the rake system either via a custom runner or formatter. There isn't too much documentation on either of these so I'm not sure if this is the right way. Any suggestions? Thanks. milki