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


Groups > comp.lang.ruby > #6925

Re: debugger changes test behavior

From Robert Klemme <shortcutter@googlemail.com>
Newsgroups comp.lang.ruby
Subject Re: debugger changes test behavior
Date 2014-03-05 20:46 +0100
Message-ID <bnpd9bFru5sU1@mid.individual.net> (permalink)
References <732a6b69-7708-4f43-a95f-d766d42e6a3f@googlegroups.com>

Show all headers | View raw


On 05.03.2014 17:16, Michel Pigassou wrote:

> 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?

That could be anything, for example timing in multithreaded applications 
or the debugger changing meta programming effects.

Cheers

	robert

Back to comp.lang.ruby | Previous | NextPrevious 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