coverage

A tool for measuring code coverage of Python programs

Install

All systems
curl cmd.cat/coverage.sh
Arch Arch Linux
pacman -S python2-coverage
CentOS
yum install python2-coverage
Fedora
dnf install python2-coverage

python2-coverage

A tool for measuring code coverage of Python programs

python-coverage

code coverage tool for Python 2

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 2 ‘coverage’ library, and the ‘python2-coverage’ program to perform and report coverage tests.