Contents

pytest-cov 3.0.0

0

Pytest plugin for measuring coverage.

Pytest plugin for measuring coverage.

Stars: 1294, Watchers: 1294, Forks: 180, Open Issues: 119

The pytest-dev/pytest-cov repo was created 8 years ago and was last updated Yesterday.
The project is very popular with an impressive 1294 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/
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 119 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.21.2

Downloads puzzle inputs for Advent of Code and synthesizes PyTest fixtures