Contents

pytest-cov 5.0.0

0

Pytest plugin for measuring coverage.

Pytest plugin for measuring coverage.

Stars: 1654, Watchers: 1654, Forks: 208, Open Issues: 146

The pytest-dev/pytest-cov repo was created 9 years ago and the last code push was 5 days ago.
The project is very popular with an impressive 1654 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
Marc Schlaich
License
MIT
Homepage
https://github.com/pytest-dev/pytest-cov
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 146 open issues on GitHub

  • Update test_invalid_coverage_source for coverage-6.2
  • tests/test_pytest_cov.py::test_subprocess_with_path_aliasing fails if coverage is installed outside venv
  • [pre-commit.ci] pre-commit autoupdate
  • Config's XML output is skipped when using tox
  • 3.0.0: pytest is failing
  • Remove forced config file default of .coveragerc
  • Missing code-coverage within pytest_sessionfinish
  • –cov don't include recursively folders and files
  • FileNotFoundError: [Errno 2] No such file or directory: 'neofetch'
  • "sqlite3.OperationalError: database is locked" on CIFS filesystem
  • installing pytest-cov causes all usage of pytest to fail
  • Why my method signature is not marked as covered?

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