Has anyone in this thread tried using an in-memory database rather than looking at using SSD or re-inventing machinist? Both sqlite and mysql have in-memory databases or tables. I'm sure that other rdbms implementations would also.
I've used sqlite :memory: in the past when using datamapper and found it to greatly increase the runtime speed for the testing environment. Surely this would prove greater gains than re-thinking machinst? Of course, I don't want to get in the way of your hacking project. On 23/03/2010, at 10:06 AM, Pete Yandell wrote: > I like having an empty database for each test too, but I'd be more > than willing to trade that for faster tests. > > If it's not solved before then, anyone fancy spending some time at > Railscamp working on making this happen? > > - Pete > > -- > 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.
