Ruby on Rails Wednesday, June 27, 2012

On 27 June 2012 11:21, venkata reddy <venkatareddy.cs@gmail.com> wrote:
> Hi All,
>         I found a weird thing happening with rspec tests. One of the tests
> is passing individually but failing when run all the tests in the
> application. Even to debug that, i have to run the whole tests which is
> taking more time to run.
> Anybody come across such thing? Any idea what's is going inside?

Presumably some hangover from one test to another. Work out why the
test is failing when you run them all then work out why it is not
failing when you run just it. Then you will know the answer. Don't
forget to tell us the result so we can all learn. See the Rails
Guide on debugging to see techniques that can be useful for debugging
the code to find out what is going on, in order to understand what is
happening in the two cases.

Colin

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

No comments:

Post a Comment