-
Notifications
You must be signed in to change notification settings - Fork 175
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
Simplified Developer Testing Setup #1334
Labels
Comments
omad
changed the title
Simplifier Developer Testing Setup
Simplified Developer Testing Setup
Dec 7, 2022
Closed
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Summary
At the moment, it's too hard for developers to run the integration tests for ODC. This presents a significant barrier to entry for new contributors, and is a big waste of time even for experienced ODC developers.
The biggest requirement hurdle is having a PostgreSQL server running locally in the background for the integration tests to connect to.
Proposal
I think a good solution would be to use pytest-docker to create a pytest fixture to start a stop a local PostgreSQL server instance using docker, whenever the integration tests are run.
The downside is added a development dependency on Docker. I think Docker is common enough in 2022 that this will still be a win for new and existing developers.
The text was updated successfully, but these errors were encountered: