[rspec-users] Are there any ways to detect spec faults during a run?

Magnus Erickson magerison at gmail.com
Wed Mar 9 07:32:06 EST 2011


Hi,
Is there a way to detect if an example has failed? Something like a:
"example_failed?" method.
In my case I need to dump some information, i.e trace and error log, to be
used when analyzing what
went wrong in the example. I'm thinking about putting it in a after(:each)
{}.

   BR
   Magnus
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://rubyforge.org/pipermail/rspec-users/attachments/20110309/73144cd2/attachment.html>


More information about the rspec-users mailing list