Commit Graph

2 Commits

Author SHA1 Message Date
0062006199
Updates testing files 2023-07-06 20:36:50 +01:00
e4446c90ec
Added pytest testing module
Added files which hold unit tests for each package component
respectfully. Unit testing makes use of the pytest library.

Majority of tests are self-explanatory, with wordy function headers to
help understand the purpose of the test. Note, test modules DO NOT
provide best practices and are separate from the standards set for the
remaining code base. For this reason, mypy and flake8 are told to ignore
testing modules.

pytest-cov is used to gain an idea of how much of the code base is being
reached by the unit tests. Coverage does not have to be 100%, and 100%
coverage does not indicate "bug-free" code. If any bugs are identified,
or further unit tests are possible to increase code base coverage,
create a new Issue, or PR request with the appropriate changes.
2022-05-12 13:49:32 +01:00