I'm experimenting the best way to test with an existing database in the tests, such as a "data" function (see http://qt-project.org/doc/qt-5.0/qtquick/qml-testcase.html). Unfortunately I'm hitting QML crashes there (the -platform business isn't terribly robust) so not sure yet if this is the best option.
Meanwhile I reproduced unexpected failures by simply using a temporary file instead of in-memory, which may be related.
I'm experimenting the best way to test with an existing database in the tests, such as a "data" function (see http:// qt-project. org/doc/ qt-5.0/ qtquick/ qml-testcase. html). Unfortunately I'm hitting QML crashes there (the -platform business isn't terribly robust) so not sure yet if this is the best option.
Meanwhile I reproduced unexpected failures by simply using a temporary file instead of in-memory, which may be related.