coveragepy icon indicating copy to clipboard operation
coveragepy copied to clipboard

The code coverage tool for Python

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

**Describe the bug** Code coverage does not work when testing installed library. **To Reproduce** How can we reproduce the problem? Please *be specific*. Don't link to a failing CI job....

bug

**Describe the bug** If I have a nested function that I call with multiprocessing, it is deemed not covered **To Reproduce** How can we reproduce the problem? Please *be specific*....

bug

I noticed our CI workflows have gotten slower lately. I did some investigations and found it happened on Apr 1st and so far I was able to isolate it to...

bug

**Is your feature request related to a problem? Please describe.** Currently, when using code coverage with complex boolean expressions in conditional statements (`if`, `elif`), the reporting lacks sufficient granularity. For...

enhancement

**Describe the bug** When trying to run uvicorn in a subprocess (using `multiprocessing`) an exception is thrown in that subprocess after you terminate it. **To Reproduce** versions python version: 3.12.3...

bug

I describe the situation here, as i really don't understand what's happenning. If you have a key to help. This is only windows env pb. My env : Python 3.8...

bug

**Describe the bug** When using `dynamic_context=test_function`, the context is not set if the test function is a `@staticmethod` or `@classmethod`. I believe this is due to the logic of [context.qualname_from_frame](https://github.com/nedbat/coveragepy/blob/ae8d3b9981bac68f903c63c9e432ef5e30b4865b/coverage/context.py#L55),...

bug

**Is your feature request related to a problem? Please describe.** Please see the Readme on the repo to reproduce https://github.com/ddorian/coverage-bug-gevent. It shows an example where you are using gevent for...

enhancement

**Is your feature request related to a problem? Please describe.** I maintain enough projects to have a need to synchronize the configs occasionally. Synchronizing configs where sections tend to get...

enhancement

Without trailing newline in a markdown report, the first additional information that comes from cmdline handler will end up in an additional row below the TOTALs row. E.g. Coverage failure:...