In Rails, how to speed up machinist tests?
Posted
by Bryan Shen
on Stack Overflow
See other posts from Stack Overflow
or by Bryan Shen
Published on 2010-03-16T02:29:09Z
Indexed on
2010/03/17
2:11 UTC
Read the original article
Hit count: 708
ruby-on-rails
|testing
I'm replacing test fixtures with Machinist. But using Machinist to set up test data is very slow, because whenever a test method is run some new data are made by Machinist and saved to database. Is there any way to cache the data in memory so that using Machinist isn't so slow?
Thanks, Bryan
© Stack Overflow or respective owner