July 2019
Beginner to intermediate
302 pages
9h 38m
English
The simplest way of getting the coverage is to use the command line:
$ coverage run --source=../<Folder name of application> --omit=app_tests.py,run.py app_tests.py
Here, --source indicates the directories that are to be considered in coverage, and --omit indicates the files that need to be omitted in the process.
$ coverage report
The following screenshot shows the output:

$ coverage html
This will create a new folder named htmlcov ...