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

Magnus Erickson magerison at gmail.com
Wed Mar 9 07:00:20 EST 2011

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)

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://rubyforge.org/pipermail/rspec-users/attachments/20110309/cbb2e743/attachment-0001.html>

More information about the rspec-users mailing list