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

Add unit tests to dea_tools.classification module #1075

Open
robbibt opened this issue Jun 15, 2023 · 0 comments
Open

Add unit tests to dea_tools.classification module #1075

robbibt opened this issue Jun 15, 2023 · 0 comments
Assignees

Comments

@robbibt
Copy link
Collaborator

robbibt commented Jun 15, 2023

The functions in the dea_tools.classification module are now being used for operational DEA product generation. To ensure they do not break in the future, we should write some unit tests covering typical use cases for those functions.

Proposal: We add a test_classification.py test script here (https://github.com/GeoscienceAustralia/dea-notebooks/tree/develop/Tests/dea_tools) with some basic pytest unit tests.

For test data, we could upload some small sample datasets into this folder: https://github.com/GeoscienceAustralia/dea-notebooks/tree/develop/Tests/data

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

No branches or pull requests

2 participants