Python Code Coverage
Python Code Coverage#
Handles line by line and branch checking about where you are missing tests
Coverage#
pip install coverage
Use#
coverage run tests.py
Get report#
coverage report
See missing lines
coverage report -m
Html Coverage#
coverage html
Creates `html` in `htmlcov` folder
Also gives red lines not tested