datacube-core
datacube-core copied to clipboard
Simplified Developer Testing Setup
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.
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.