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 2011-04-18 19:05 -0500
Organization Service de news de lacave.net
Message-ID <DAA1931AD25443859DA82372B512F9AC@gmail.com> (permalink)
References <20110418214818.GA67946@hal.rescomp.berkeley.edu>

Show all headers | 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