-
Notifications
You must be signed in to change notification settings - Fork 51
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
Tests #26
Comments
thanks for writing this down @gjoseph92 lots of new resources to explore!
Agreed that poetry is nice for having everything in pyproject.toml and also facilitating pypi publishing. For locking environments with conda I've been getting a lot of mileage out of conda-lock, worth keeping an eye on: https://github.com/conda-incubator/conda-lock |
Going to close this now that a few tests have been added, so hopefully the barrier to adding more will be lower! Specific follow-up issues:
And then all of these need tests: https://github.com/gjoseph92/stackstac/issues?q=label%3Aneeds-future-test |
Wanted to note I just noticed https://github.com/Zac-HD/hypothesis-jsonschema, which should let us generate random STAC data from the STAC json schema! |
We need them. Very much so.
Jotting down some thoughts on what I'd like testing to look like for this project:
.pyi
file ofTypedDict
s for that schema. From that (and a bit more logic), we can basically have Hypothesis any valid STAC JSON for us (and be sure our typechecking is correct too).The text was updated successfully, but these errors were encountered: