[rspec-users] Is there a way to get an "around" hook for each spec file?
jko170 at gmail.com
Wed Sep 7 09:00:25 EDT 2011
On Wed, Sep 7, 2011 at 5:50 AM, John Feminella <johnf at bitsbuilder.com>wrote:
> Is there a way to run an `around` block once for every spec *file*
> (not spec)? (I want to measure which files take the longest amount of
> time, count the number of specs in each file, and then report the
> average spec running time for that file.)
> ~ jf
> John Feminella
> Principal Consultant, BitsBuilder
> LI: http://www.linkedin.com/in/johnxf
> SO: http://stackoverflow.com/users/75170/
> rspec-users mailing list
> rspec-users at rubyforge.org
Why not just use the --profile option?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the rspec-users