Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.ruby > #6924

debugger changes test behavior

Newsgroups comp.lang.ruby
Date 2014-03-05 08:16 -0800
Message-ID <732a6b69-7708-4f43-a95f-d766d42e6a3f@googlegroups.com> (permalink)
Subject debugger changes test behavior
From Michel Pigassou <dagnan@gmail.com>

Show all headers | View raw


Hi.

Have you ever had this problem where your test fails where it should succeed, and you just add a debugger in your controller or model, and then it succeeds?

I could observe this behavior under different Ruby versions, 1.9.3 and 2.0.0, with Rails 3 and 4.
I have no idea what could cause this, but since I have been noticing this many times I guess I'm not the only one. Am I?

Michel

Back to comp.lang.ruby | Previous | NextNext in thread | Find similar


Thread

debugger changes test behavior Michel Pigassou <dagnan@gmail.com> - 2014-03-05 08:16 -0800
  Re: debugger changes test behavior Robert Klemme <shortcutter@googlemail.com> - 2014-03-05 20:46 +0100

csiph-web