Are there any ways to detect spec faults during a run?

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

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs