So far, this is the fastest solution I can find:

Dataset with rails-test-serving

http://github.com/Roman2K/rails-test-serving
http://github.com/aiwilliams/dataset

I was able to cut down a test file from 15 seconds to 2 seconds using
dataset's "create_record" method, which bypasses validations.
Factory's are nice but they make your tests very slow.
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to