Ruby on Rails Saturday, December 1, 2012

On Nov 30, 2:56 pm, Jordon Bedwell <envyge...@gmail.com> wrote:
>
> There is plenty of useful information, that is what logs are for, and
> a test log is kept, try looking in log/test.log which will have all
> that in there from start to finish of each request.
>
> > Does anyone know how to get Rails to emit all stdout immediately instead
> > of buffering it until after ALL tests have completed?
>
> With RSpec use fail fast.

Rails doesn't use rspec. It uses minitest (which is what test::unit is
on 1.9). I don't think it has an equivalent fail fast option although
there do appear to be some monkey patches floating around

If you're getting error messages with no context i'd guess that they
are occurring outside of an actual unit test, for example in the code
that inserts fixtures or something along those lines.

Fred

--
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 https://groups.google.com/groups/opt_out.

No comments:

Post a Comment