coveragepy icon indicating copy to clipboard operation
coveragepy copied to clipboard

The code coverage tool for Python

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

Hi,I am interested in your project and want to count your test code's coverage but I failed to generate coverage report. ![image](https://user-images.githubusercontent.com/105635378/184321727-ccb72035-6711-4fa2-a348-86958f4d6bf9.png) I used the following commands in python:3.7 docker:...

bug
question

**Describe the bug** I have a new (conveniently public) project where I can verify that certain lines are executed, but are reported as missing. Here's a permalink: https://github.com/hynek/hatch-fancy-pypi-readme/blob/c84005d716b663f9125b0acba250e7b9ddf23661/src/hatch_fancy_pypi_readme/_cli.py#L43-L49 Coverage says:...

bug
needs triage

I like to use function doctests as smoke tests. It makes nice documentation. And if the interface of my function changes, the failed doctest serves as a reminder to overhaul...

enhancement
question

**Is your feature request related to a problem? Please describe.** When improving the test coverage of a legacy code base, I would like to have a ratchet based on the...

enhancement
target

**Describe the bug** The CTracer object leaks some objects. This affects tests which try to detect objects leaks in the code they test. **To Reproduce** In a clean virtualenv, on...

bug

*Originally reported by* **Anonymous** ---------------------------------------- Will gevent be supported on pypy? ``` #!python File "/home/travis/virtualenv/pypy-5.3.1/site-packages/coverage/collector.py", line 199, in _start_tracer self.concurrency, self.tracer_name(), CoverageException: Can't support concurrency=gevent with PyTracer, only threads are...

bug
exotic
concurrency
pypy

*Originally reported by* **Lorenzo Boffelli (Bitbucket: [lboff](https://bitbucket.org/lboff), GitHub: [lboff](https://github.com/lboff))** ---------------------------------------- Hello, I am using pytest with pytest-cov and coverage. I wrote some tests where I run a process (multiprocessing.Process) The...

bug
run
concurrency

The coverage.py test suite gets stuck on Windows PyPy for PyPy version 7.3.15. Here's an [example action run that gets canceled after 6 hours](https://github.com/nedbat/coveragepy/actions/runs/7601918498/job/20701846774#step:5:69). The 6 hours is GitHub Actions'...

bug
windows
pypy

**Describe the bug** In urllib3, we just downgraded to pypy3.9-v7.3.13 (https://github.com/urllib3/urllib3/pull/3308) because the test suite takes more that 30 minutes when run on pypy3.9-v7.3.15 (we don't know how long exactly...

bug
needs triage

[json schema](https://json-schema.org) can let editor which support LSP to complete some configuration file. Such as: ![Screenshot from 2024-01-20 23-24-42](https://github.com/alacritty/alacritty/assets/32936898/64ea96f4-209a-4a41-a003-cf9a0885332a) There are many tools have supported json schema: ![Screenshot from 2024-01-20...

enhancement