I think it's a pretty bad idea to mix up benchmarking and correctness tests.
mark On Mon, Sep 3, 2012 at 1:56 PM, Tim McEwan <[email protected]> wrote: > Could you set bullet* to run in your test env and assert that you don't see > its log output? It would slow your tests down a fair bit though. > > Don't worry, I'm aware this is a terrible idea - but hopefully it gets the > ball rolling. > > * https://github.com/flyerhzm/bullet > > On Monday, 3 September 2012 at 12:34, Paul Annesley wrote: > > I recently read a post about writing tests to catch n+1 query regressions, > but I have no idea where it was. > > I'm not sure it's a good idea (or possible to do in a non-fragile way), but > it would be useful at this phase of an app I'm working on. > > Does anybody remember the post, or have any thoughts on the matter? > > — Paul > > -- > You received this message because you are subscribed to the Google Groups > "Ruby or Rails Oceania" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/rails-oceania?hl=en. > > > -- > You received this message because you are subscribed to the Google Groups > "Ruby or Rails Oceania" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/rails-oceania?hl=en. -- A UNIX signature isn't a return address, it's the ASCII equivalent of a black velvet clown painting. It's a rectangle of carets surrounding a quote from a literary giant of weeniedom like Heinlein or Dr. Who. -- Chris Maeda -- You received this message because you are subscribed to the Google Groups "Ruby or Rails Oceania" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/rails-oceania?hl=en.
