Just a quick note with an answer to an issue which has been bugging me for days.

The problem

Tests run OK within Eclipse but fail miserably from the command line with an error like…

362b7f6aea221c114426f788df3de78b002

The diagnosis

It seems that the test runner automatically loads fixtures even if not asked to do so. The template fixture files contain stubs for test records which cause sqlite3 to choke.

The solution

Just make sure that fixture files actually contain real fixtures that are needed for your testing!