How To Install Coverage2 On Debian, Ubuntu, Arch, Kali, CentOS, Fedora And Raspbian?

How To Install Coverage2 On Debian, Ubuntu, Arch, Kali, CentOS, Fedora And Raspbian?

coverage2

A tool for measuring code coverage of Python programs

Maintainer: Ben Finney



Section: python

Install coverage2

  • Debian apt-get install python-coverage Click to copy
  • Ubuntu apt-get install python-coverage Click to copy
  • Arch Linux pacman -S python2-coverage Click to copy
  • Kali Linux apt-get install python-coverage Click to copy
  • CentOS yum install python-coverage Click to copy
  • Fedora dnf install python2-coverage Click to copy
  • Raspbian apt-get install python-coverage Click to copy

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 u2018coverageu2019 library, and the u2018python2-coverageu2019 program to perform and report coverage tests.

Installing coverage2 command is simple. just copy one of the above commands for your operating system and paste it into terminal. This command is available for Debian, Ubuntu, Arch, Kali, CentOS, Fedora and Raspbian operating systems. Once you run the command it will install the latest version of coverage2 2026 package in your OS.