[rspec-users] Start ruby debugger if an rspec test fails

Vighnesh Rege vighnesh1987 at gmail.com
Wed May 1 19:08:25 UTC 2013


Thanks Clifford. It looks promising. I'll try it out.



Vighnesh



On Mon, Apr 29, 2013 at 10:23 PM, Clifford Heath
<clifford.heath at gmail.com>wrote:

> Vighnesh,
>
> On 30/04/2013, at 10:42 AM, Vighnesh Rege <vighnesh1987 at gmail.com> wrote:
> > I was wondering if any of you knows the answer to this:
> >
> http://stackoverflow.com/questions/16290365/start-ruby-debugger-if-rspec-test-fails
>
> I posted my answer to this, which is to catch the ExpectationNotMatched
> exception as it's being created.
>
> I think the solution will also interest my local Rails peeps, so I'm
> Cc'ing it there too.
>
> Clifford Heath, Data Constellation, http://dataconstellation.com
> Agile Information Management and Design
> Skype: cjheath, Ph: (+61/0)401-533-540
>
> _______________________________________________
> rspec-users mailing list
> rspec-users at rubyforge.org
> http://rubyforge.org/mailman/listinfo/rspec-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://rubyforge.org/pipermail/rspec-users/attachments/20130501/94a01e88/attachment.html>


More information about the rspec-users mailing list