-
Notifications
You must be signed in to change notification settings - Fork 22
Open
Labels
enhancementNew feature or requestNew feature or requestgood first issueGood for newcomersGood for newcomers
Description
Originally raised by @maminian on 18 Feb. 2022
It's common for modern software packages have built-in testing. Whether this is formal unit tests, or just a naive run-through of some commands with expected outputs isn't so important for now.
But, ideally it should:
- Match up with standards that GitHub (for instance) can do to automatically verify. For instance, when one does a Pull request on Github, there's a box that alludes to this.
- Be understandable
- Be expandable or follow some template, so that more tests could be later.
- Use an existing infrastructure (probably matches up with point 1. here). Meaning, use some package. Options here:
unittest(looks like it's in "core" Python?) andpytest(which isn't). Should compare these (or get the internet's opinion) before picking one and sticking with it.
To satisfy this issue, just go through 1-5 and make a test that is "satisfied" if one can "import" our package successfully (whatever that means). It should work independent of any specific data set - so the test might be very naive.
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or requestgood first issueGood for newcomersGood for newcomers