Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Why is not possible to run tests using ':memory:' instead of 'test.db'? #132

Open
turicas opened this issue Apr 7, 2014 · 0 comments
Open

Comments

@turicas
Copy link

turicas commented Apr 7, 2014

I've replaced 'test.db' with '':memory:'' on flask_peewee/tests/test_config.py but got many errors when trying to run the tests. Is it possible to modify the test suit so we can run all tests way faster using an in-memory database?

For instance, it takes almost 6 minutes to run all tests (python runtests.py) on my machine (Intel Core i5 M 480 @ 2.67GHz, 4GB RAM, running Debian GNU/Linux) - this task is I/O intensive.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant