elixir-sqlite/sqlitex

Convert SQLite fixture test database to in-memory database

jazzyb opened this issue · 2 comments

Just wanted to get your opinion on this: I sometimes run into issues testing sqlitex on my machines because I often use NFS, and SQLite will not work with files over NFS (because NFS doesn't provide file locking that SQLite uses). Hence, using an in-memory database is easier for me for testing.

I noticed that the fixture database isn't very large at all. What are your thoughts on converting test/fixtures/golfscores.sqlite3 (or a subset of that) to an in-memory database? I would be willing to do the conversion myself, by the way.

I would appreciate that. I prefer using an in-memory database, the only reason I have a fixture database is because I had it hand on my computer when I started sqlitex.

Fixed by #6