Yes, this is the ultimate hack. It is quite fragile, and setup
intensive, as all team members must have a ramdisk enabled, and have
the same path. Or, what is worse, configurable ones (breaking our
"don't make me think" test rule). Hacking sequel seems a lot less
work. And it might pay off, as truncating all databases is far more
performatic than automigrate! (for clearing up tests).

On one of my colegues notebook, the disk is so bad that the tests take
147 seconds!

On Sep 17, 6:32 pm, David Masover <[email protected]> wrote:
> On Thursday, September 16, 2010 06:56:20 pm Daniel Ribeiro wrote:
>
> > Is there a way to share the same in memory sqlite3 database? I am
> > using Sequel for raw queries, where DM is really lacking, but they
> > can't work toguehter unless they share a physical database (which
> > pumps our tests from 7 seconds to unbearable 47).
>
> Hack: Run it on a RAMdisk or equivalent. I recommend tmpfs on Linux.

-- 
You received this message because you are subscribed to the Google Groups 
"DataMapper" 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/datamapper?hl=en.

Reply via email to