Learn by Doing wrote: > Is there a way to preload common data made by factory_girl to speed up > tests instead of recreating these common data at the beginning of > every test. For example, I want to have 10 users premade at the > beginning of every test.
No, you probably don't. Factories aren't fixtures and shouldn't be used in the same way. > > I found this > http://agilewebdevelopment.com/plugins/factory_data_preloader > But the page says that this plugin does not "play nice" with > autotest. But I use autotest. Is there another solution? Use factories correctly. Don't try to prematurely optimize your tests. > > Thanks. Best, -- Marnen Laibow-Koser http://www.marnen.org [email protected] -- Posted via http://www.ruby-forum.com/. -- 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 [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

