Vighnesh Rege
2013-Apr-30 00:42 UTC
[rspec-users] Start ruby debugger if an rspec test fails
Hey guys, I was wondering if any of you knows the answer to this: http://stackoverflow.com/questions/16290365/start-ruby-debugger-if-rspec-test-fails Thanks! Vighnesh -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://rubyforge.org/pipermail/rspec-users/attachments/20130429/22f7e031/attachment.html>
Samer Masry
2013-Apr-30 03:12 UTC
[rspec-users] Start ruby debugger if an rspec test fails
have u tried using pry to debug the issue? Sent from my iPhone On Apr 29, 2013, at 5:42 PM, Vighnesh Rege <vighnesh1987 at gmail.com> wrote:> Hey guys, > > I was wondering if any of you knows the answer to this: > http://stackoverflow.com/questions/16290365/start-ruby-debugger-if-rspec-test-fails > > Thanks! > > Vighnesh > > _______________________________________________ > 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/20130429/037819d7/attachment.html>
Clifford Heath
2013-Apr-30 05:23 UTC
[rspec-users] Start ruby debugger if an rspec test fails
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-failsI 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
Vighnesh Rege
2013-May-01 19:08 UTC
[rspec-users] Start ruby debugger if an rspec test fails
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>