fsherratt / upgraded-parakeet

Project Upgraded Parakeet
GNU General Public License v3.0
2 stars 0 forks source link

Setup standard unit testing template #5

Closed fsherratt closed 4 years ago

fsherratt commented 4 years ago

Pull request #7 contains the standard template. Will close after testing while developing issue #9

fsherratt commented 4 years ago

Coverage.py python code coverage analysis

fsherratt commented 4 years ago

Coverage.py is very simple to use. So the final python packages will be unittest (built in) pytest (built in) and coverage.py (need to install)

fsherratt commented 4 years ago

I'd like to add a githooks to run unittests as a pre-commit action. Pre-commit pip module , Two Ways to Share Git Hooks with Your Team

Neoxas commented 4 years ago

Im happy with that I would think 80% is good coverage to aim for