python3.7-coverage

code coverage tool for Python 3

Install

All systems
curl cmd.cat/python3.7-coverage.sh
Debian Debian
apt-get install python3-coverage
Ubuntu
apt-get install python3-coverage
image/svg+xml Kali Linux
apt-get install python3-coverage
Fedora
dnf install python3-coverage
Windows (WSL2)
sudo apt-get update sudo apt-get install python3-coverage
Raspbian
apt-get install python3-coverage

python3-coverage

code coverage tool for Python 3

Coverage.py is a tool for measuring code coverage of Python programs. It monitors your program, noting which parts of the code have been executed, then analyzes the source to identify code that could have been executed but was not. Coverage measurement is typically used to gauge the effectiveness of tests. It can show which parts of your code are being exercised by tests, and which are not. This package installs the Python version 3 ‘coverage’ library, and the ‘python3-coverage’ program to perform and report coverage tests.