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

2011-03-09 Thread Magnus Erickson
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

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

2011-03-09 Thread Magnus Erickson
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

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

2011-03-13 Thread Magnus Erickson
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

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

2011-03-15 Thread Magnus Erickson
feature in RSpec? BR Magnus 2011/3/13 David Chelimsky > On Mar 9, 2011, at 6:00 AM, Magnus Erickson wrote: > > > 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

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

2011-03-18 Thread Magnus Erickson
2011/3/15 David Chelimsky > On Mar 15, 2011, at 5:25 AM, Magnus Erickson wrote: > > > 2011/3/13 David Chelimsky > >> On Mar 9, 2011, at 6:00 AM, Magnus Erickson wrote: >> >> > Hi, >> > Is there a way to detect if an example has failed? Something li