Contents

pytest-cov 7.0.0

0

Pytest plugin for measuring coverage.

Pytest plugin for measuring coverage.

Stars: 2006, Watchers: 2006, Forks: 229, Open Issues: 157

The pytest-dev/pytest-cov repo was created 11 years ago and the last code push was 2 months ago.
The project is very popular with an impressive 2006 github stars!

How to Install pytest-cov

You can install pytest-cov using pip

pip install pytest-cov

or add it to a project with poetry

poetry add pytest-cov

Package Details

Author
None
License
None
Homepage
None
PyPi:
https://pypi.org/project/pytest-cov/
Documentation:
https://pytest-cov.readthedocs.io/
GitHub Repo:
https://github.com/pytest-dev/pytest-cov

Classifiers

  • Software Development/Testing
  • Utilities
No  pytest-cov  pypi packages just yet.

Errors

A list of common pytest-cov errors.

Code Examples

Here are some pytest-cov code examples and snippets.

GitHub Issues

The pytest-cov package has 157 open issues on GitHub

  • [docs] Delete omitting test module measurements from default examples
  • Coverage collection breaks when reorganizing tests into nested subdirectories
  • Difference between multiple context managers in Windows and Linux
  • pytest-coverage exists but is pytest-cover, not pytest-cov
  • Bump the github-actions group across 1 directory with 2 updates
  • Segmentation violation on macOS with python 3.14 when xml report is requested

See more issues on GitHub

Related Packages & Articles

pytest-api 0.1.4

An ASGI middleware to populate OpenAPI Specification examples from pytest functions

pytest-aoc 1.23.4

Downloads puzzle inputs for Advent of Code and synthesizes PyTest fixtures