CMD + K

pytest-cov

Anaconda Verified

Pytest plugin for measuring coverage

Installation

To install this package, run one of the following:

Conda
$conda install main::pytest-cov

Usage Tracking

7.0.0
6.0.0
4.1.0
4.0.0
3.0.0
5 / 8 versions selected
Downloads (Last 6 months): 0

Description

This plugin produces coverage reports. Compared to just using coverage run this plugin does some extras: * Subprocess support: you can fork or run stuff in a subprocess and will get covered without any fuss. * Xdist support: you can use all of pytest-xdist's features and still get coverage. * Consistent pytest behavior. If you run coverage run -m pytest you will have slightly different sys.path (CWD will be in it, unlike when running pytest). All features offered by the coverage package should work, either through pytest-cov's command line options or through coverage's config file.

About

Summary

Pytest plugin for measuring coverage

Last Updated

Oct 27, 2025 at 10:43

License

MIT

Total Downloads

32.1K

Supported Platforms

macOS-arm64
linux-64
linux-aarch64
win-64

Unsupported Platforms

linux-ppc64le Last supported version: 4.1.0
win-32 Last supported version: 2.6.1
noarch Last supported version: 3.0.0
linux-s390x Last supported version: 6.0.0
macOS-64 Last supported version: 6.0.0
linux-32 Last supported version: 2.6.0