coveragepy icon indicating copy to clipboard operation
coveragepy copied to clipboard

The code coverage tool for Python

Results 245 coveragepy issues
Sort by recently updated
recently updated
newest added

**Describe the bug** In my cicd I implement some tests using pytest and coverage, when running on an ARM instance with python 3.7.3 and coverage 4.5.2 the cicd crashes with...

bug
question

**Describe the bug** `coverage report` shows unexpected range including covered and excluded lines **To Reproduce** ```console $ rm -rf venv .coverage ``` ```console $ python3.11 -m venv venv ``` ```console...

bug

**Describe the bug** [pytest-xdist](https://github.com/pytest-dev/pytest-xdist) allows running tests in parallel. So we can do something like `pytest -n auto`, and our tests take 5 minutes instead of 15. But `coverage run...

**Describe the bug** The behavior of coverage is different between a regular python source file within a project and a symlink to a source file within a project. It seems...

bug

**Describe the bug** When compiling the C dependencies using GCC with the `-Wundef` flag, `coverage/ctracer/stats.h` and `coverage/ctracer/tracer.c` throw warnings, as the following are potentially or actually undefined: - `COLLECT_STATS` (`stats.h`)...

bug

I need to get info about what functions are tested. Currently there is only line coverage data. if this tool can be enhanced to report that data, it will be...

enhancement

**Describe the bug** Code executed by `multiprocessing.Pool` is not counted. **To Reproduce** Tested on Arch Linux (Python 3.10.8, coverage.py 6.5, pytest 7.2.0). To reproduce, make sure to have ``` pandas>=0.24...

bug
multiprocessing

**Describe the bug** A clear and concise description of the bug. My code has 100% coverage. I re-ran coverage, it says 98%. When I do coverage html and look at...

bug
question

I have a dev setup where the application is running. I am trying to get coverage report for functional tests/regression tests with coverage API in a gunicorn wsgi server. I...

bug
question

(Same symptom as #1147 but different cause.) I need to produce relative paths in the coverage data that coverage.py produces for smoother interoperability with various consumers of this data (e.g.,...

enhancement
wontfix