[rspec-devel] No more spec_started in BaseTextFormatter
David Chelimsky
dchelimsky at gmail.com
Sat Apr 14 01:07:07 EDT 2007
On 4/13/07, Nick Sieger <nicksieger at gmail.com> wrote:
> Hi,
>
> David removed this method in 1640:
>
> | r1640 | dchelimsky | 2007-03-21 20:05:20 -0500 (Wed, 21 Mar 2007) | 3 lines
> |
> | removed example_started from reporter and formatters.
> | It wasn't buying us anything and it was costing us extra binding
> between examples
> | and the reporter
>
> I'll defer to you since you had a good reason for jettisoning it, but
> let me plead my case -- I was using this in ci_reporter in order to
> measure the duration of individual specs/examples.
>
> Any suggestions for a workaround or way to achieve the same effect in
> the meantime?
Sorry - there's nothing right now. I really didn't think anyone was
using this - I know RSpec wasn't in any of its formatters. There's an
RFE for adding hooks before setting up and after tearing down each
behaviour and/or example. Would that do the trick for you? If not, go
ahead and add a new RFE to reinstate spec_started.
>
> /Nick
> _______________________________________________
> rspec-devel mailing list
> rspec-devel at rubyforge.org
> http://rubyforge.org/mailman/listinfo/rspec-devel
>
More information about the rspec-devel
mailing list