Closed emanuel-schmid closed 1 month ago
Excellent PR! This will make the code much cleaner.
Regarding the tests, should the test for IO and Plot be made integration tests only? And should the integration tests for hazard also be split up? And should we aim (not in this PR) to add test for the Plot parts in the future?
Should the test for IO and Plot be made integration tests only? 🤷 Imho:
assert read(write(x) == x
.Should the integration tests for hazard be split up? No strong feelings. But, in general, I agree: the modularization of the integration tests could be better structured. Currently we have somehow a mix of distribution patterns: single tested method (test_multi_processing), single tested module (eg, test_nightlight), multiple tested modules together (test_engine), functional category (test_plot, test_multi_processing as meant to be?). Hence assigning a test to an existing test module is somewhat arbitrary.
Adding tests for the Plot parts? Yes! (remember: we always aim for coverage 100% 😁)
testing policy discussion to be continued
Changes proposed in this PR:
This PR fixes #
PR Author Checklist
develop
)PR Reviewer Checklist