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

Evaluate pytest-postgresql or pytest-pgsql #343

Open
ewjoachim opened this issue Nov 7, 2020 · 0 comments
Open

Evaluate pytest-postgresql or pytest-pgsql #343

ewjoachim opened this issue Nov 7, 2020 · 0 comments
Labels
Issue appropriate for: Occasional contributors 😉 This issue will be best tackled by people with a minimum of experience on the project Issue contains: Some Python 🐍 This issue involves writing some Python code PR type: miscellaneous 👾 Contains misc changes

Comments

@ewjoachim
Copy link
Member

Currently, our own test code takes care of setting up the db and dropping it, etc.

I wonder if https://pypi.org/project/pytest-postgresql/ or https://pytest-pgsql.readthedocs.io/en/latest/ could help. The first one looks simpler, the second supports transacted tests out of the box, which might help speeding up tests.

BTW, re-reading #238 (comment) : tests still takes 67s on my computer. That's not unbearable but if we have a simple speedup possible, that also allowed deleting code, I'm in!

This is not urgent or anything.

@ewjoachim ewjoachim added Issue appropriate for: Occasional contributors 😉 This issue will be best tackled by people with a minimum of experience on the project Issue contains: Some Python 🐍 This issue involves writing some Python code Issue type: Refactor PR type: miscellaneous 👾 Contains misc changes labels Nov 7, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Issue appropriate for: Occasional contributors 😉 This issue will be best tackled by people with a minimum of experience on the project Issue contains: Some Python 🐍 This issue involves writing some Python code PR type: miscellaneous 👾 Contains misc changes
Projects
None yet
Development

No branches or pull requests

1 participant