Conversation
|
It's a good point on the range test. There are a couple of flaws with it at the moment, the one you've pointed out, but also the fact that you cant assign multiple "bad" regions to the same flag. eg. on a number scale, if I wanted to flag 1-3 and 4-5 as bad, but not 2 I wouldn't be able to do it, because range test only accepts one range per flag. Not ideal... Thanks for all of the logging updates. I've overlooked that in the V1.0 post (#102) but it should be in the mandatory section. Could you explain what the new tests are checking for? Ideally I'd like to avoid failing them 😅 |
|
I guess the term "test" carries multiple meanings for this repository. The pytest workflow is for unit testing. If you aren't familiar, it's helpful for seeing how the code runs when small changes are made. For example, we decide to update from Python 3.14 to 3.15 and discover that a function has been depreciated - it shows up in the unit test as a failure and alerts us that it isn't working as intended. A good general practice is to have good unit test coverage, easily mapped with something like CodeCov or Coveralls. When the Python The workflow is currently set up to run with every commit on every branch, so that way we're made aware of issues that happen as soon as possible, but eventually we'll change the branch to |
toolbox/tests/, new github workflow) to start addressing Tests #101qc_historyto data product and fixed a bug thereinrange_test_gross.py, which flags outside of a selected area. Can be registered inrange_test.pyin the future.custom/qc/folder.blank_test.pyfor clarity on future use.Please let me know if you'd like anything changed or adjusted!