coveragepy
coveragepy copied to clipboard
The code coverage tool for Python
Hi,I am interested in your project and want to count your test code's coverage but I failed to generate coverage report.  I used the following commands in python:3.7 docker:...
**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:...
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...
**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...
**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...
*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...
*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...
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'...
**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...
[json schema](https://json-schema.org) can let editor which support LSP to complete some configuration file. Such as:  There are many tools have supported json schema: ![Screenshot from 2024-01-20...