You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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:
omad
changed the title
Simplifier Developer Testing Setup
Simplified Developer Testing Setup
Dec 7, 2022
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.
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: