--- id: pytest-cover version: "3.0.0" license: MIT license_treatment: permissive maintenance: abandoned --- # pytest-cover — Pytest plugin for measuring coverage. Forked from `pytest-cov`. License: permissive · Maintenance: abandoned · Downloads: 415.8K/mo ## What it is and what it does pytest-cover is a pytest plugin that integrates code coverage measurement into your test runs. It wraps the coverage.py library to let you measure which lines of code are executed during testing and generate coverage reports in multiple formats. The plugin was originally forked from pytest-cov to add features like automatic source detection from .coveragerc and a minimum coverage threshold option. However, pytest-cover has been merged back into pytest-cov as of version 2.0, and this package is no longer maintained. The repository was archived in 2018, with the last release in August 2015. Installing this package now means using outdated code that will not receive bug fixes or compatibility updates for modern Python versions. Use it for: - Measure test coverage in projects still using Python 2.6–3.4 where pytest-cov 2.0 was the active version. - Generate HTML or terminal coverage reports during pytest runs without separate coverage commands. - Set minimum coverage thresholds and fail the test suite if coverage drops below a target percentage. ## Worth the install? AI-flagged interpretation of the facts above — verify before relying. pytest-cover is a pytest plugin for measuring code coverage, but it has been merged into pytest-cov and is no longer maintained as a separate project. No. This package is abandoned and has been superseded by pytest-cov. The last release was in 2015, the repository was archived in 2018, and the project explicitly states it has been merged into pytest-cov. Install pytest-cov instead for active maintenance, modern Python support, and ongoing bug fixes. ## Install pip install pytest-cover uv add pytest-cover poetry add pytest-cover ## Installing pytest-cover Before you install: Installation is low-friction, but the package is abandoned—last release was 2015-08-01 and the repository was archived in 2018. The project has been merged into pytest-cov, making this package obsolete. License in practice: Licensed under MIT (permissive), so there are no licensing restrictions on use or modification. Quickstart: pip install pytest-cover # Then run pytest with coverage: pytest --cov=mymodule --cov-report=html This package is abandoned and merged into pytest-cov; use pytest-cov instead for active maintenance and modern Python support. Verify before relying: - Whether pytest-cover remains compatible with modern pytest and Python versions beyond those listed in classifiers (2.6–3.4). - Whether the single runtime dependency pytest-cov is pinned to a specific version or accepts modern releases. ## Package facts - License: MIT (permissive) - Python support: unspecified - Install friction: low - Maintenance: abandoned - Downloads: 415.8K/month (top 15,000 on PyPI) - Known vulnerabilities: none known ## Tags pytest coverage plugin, code coverage measurement, pytest-cov alternative, test coverage reporting, coverage integration pytest, abandoned, superseded-by-pytest-cov [View on SkillFed](https://skillfed.io/packages/pytest-cover) · [View on PyPI](https://pypi.org/project/pytest-cover/)