Skip to content

Unit test coverage

Ilia Bozhinov edited this page Feb 10, 2020 · 1 revision

To get test coverage, you can use coverage.py. The basic workflow is (assuming you are in the root of the JobAdder repo):

cd src
coverage run --source=ja -m unittest discover -v -s test -p '*.py'
coverage report -m
Clone this wiki locally