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

Speed up tests by stubbing out metadata file queries #28

Open
stuartlynn opened this issue May 22, 2024 · 0 comments
Open

Speed up tests by stubbing out metadata file queries #28

stuartlynn opened this issue May 22, 2024 · 0 comments

Comments

@stuartlynn
Copy link
Contributor

We should rewrite the metdata and parquets tests to use http_mock to return fake metadata which will remove the need for an active internet connection to run the test and speed up the test suite.

We already have a model of this in the geometry test suite

https://github.com/Urban-Analytics-Technology-Platform/popgetter-cli/blob/6a5224e8c626b0f47afcdf0369578d120bcc17a9/src/geo.rs#L136-L151

Should be easy enough to port over

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

No branches or pull requests

1 participant