Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.ruby > #3126

Re: Hook into rake for reporting results

From Michael Sokol <mikaa123@gmail.com>
Newsgroups comp.lang.ruby
Subject Re: Hook into rake for reporting results
Date Mon, 18 Apr 2011 19:05:17 -0500
Organization Service de news de lacave.net
Lines 34
Message-ID <DAA1931AD25443859DA82372B512F9AC@gmail.com> (permalink)
References <20110418214818.GA67946@hal.rescomp.berkeley.edu>
NNTP-Posting-Host bristol.highgroove.com
Content-Type text/plain; charset=utf-8
Content-Transfer-Encoding 8bit
X-Trace talisker.lacave.net 1303171541 32571 65.111.164.187 (19 Apr 2011 00:05:41 GMT)
X-Complaints-To abuse@lacave.net
NNTP-Posting-Date Tue, 19 Apr 2011 00:05:41 +0000 (UTC)
In-Reply-To <20110418214818.GA67946@hal.rescomp.berkeley.edu>
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 381805
X-Ml-Name ruby-talk
X-Gateway-Modified [Note: parts of this message were removed to make it a legal post.]
X-Rubymirror Yes
X-Ruby-Talk <DAA1931AD25443859DA82372B512F9AC@gmail.com>
Path csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!news.stben.net!talisker.lacave.net!lacave.net!not-for-mail
Xref x330-a1.tempe.blueboxinc.net comp.lang.ruby:3126

Show key headers only | View raw


[Note:  parts of this message were removed to make it a legal post.]

I guess you could simply analyze the output of a `rake test` task.

Maybe create a rake task that calls the :test task and processes its output?

-- 
Michael Sokol
On lundi 18 avril 2011 at 17:48, milki wrote: 
> 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
> 

Back to comp.lang.ruby | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Hook into rake for reporting results milki <milki@rescomp.berkeley.edu> - 2011-04-18 16:48 -0500
  Re: Hook into rake for reporting results Steve Klabnik <steve@steveklabnik.com> - 2011-04-18 17:44 -0500
    Re: Hook into rake for reporting results milki <milki@rescomp.berkeley.edu> - 2011-04-19 08:17 -0500
      Re: Hook into rake for reporting results Steve Klabnik <steve@steveklabnik.com> - 2011-04-19 08:45 -0500
  Re: Hook into rake for reporting results Michael Sokol <mikaa123@gmail.com> - 2011-04-18 19:05 -0500
    Re: Hook into rake for reporting results milki <milki@rescomp.berkeley.edu> - 2011-04-19 08:17 -0500

csiph-web