[rspec-devel] [ rspec-Patches-12484 ] Allow a Behaviour's Description to flow through to the Formatter

noreply at rubyforge.org noreply at rubyforge.org
Sun Jul 22 10:26:22 EDT 2007


Patches item #12484, was opened at 2007-07-22 08:26
You can respond by visiting: 
http://rubyforge.org/tracker/?func=detail&atid=3151&aid=12484&group_id=797

Category: None
Group: None
Status: Open
Resolution: None
Priority: 3
Submitted By: Bob Cotton (bcotton)
Assigned to: Nobody (None)
Summary: Allow a Behaviour's Description to flow through to the Formatter

Initial Comment:
With the ability to pass options to Behaviours, having those options available to custom Formatters allows for interesting integrations, for example, with test tracking systems.

Attached is a patch that passes the Behaviour's Description to the reporter, which will flow it to all the Formatters.

No Formatter specs failed, but I tried to ensure that all calls (in specs) to Formatter#add_behavior and Reporter#add_behaviour are passed an instance of Description.

----------------------------------------------------------------------

You can respond by visiting: 
http://rubyforge.org/tracker/?func=detail&atid=3151&aid=12484&group_id=797


More information about the rspec-devel mailing list