TST: Implement unit tests
Opened this issue · 1 comments
KCollins commented
- create test subdirectory in package subfolder
- add testing to GitHub workflow yaml
Write basic tests for each function:
- magfetch
- magfetchtgo
- magdf
- magfig
- magspect
- wavefig
KCollins commented
- test that the function succeeds at the thing it's supposed to do with default inputs
- test that the function succeeds using all potential alternative inputs
- check that the errors are raised and have the right messages in the right places
- check that the logging/print statements occur at the expected times