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

I recently hacked coverage to scratch my own itch and noticed that the internal code could be internally improved with newer Python syntax. The primary thing I noticed (because it...

enhancement

I've noticed that files / a package is missing in `coverage.xml` (via `coverage xml`), but not with `coverage report`. I have `project/settings/__init__.py` and `testing/settings/__init__.py`, but only the latter is in...

bug
xml
next

use cases: * fail on unexecuted files * starting to do unit tests in a big project, overall coverage is low - but we can increase per file coverage more...

enhancement
target

**Is your feature request related to a problem? Please describe.** The new `relative_files` config options toggle whether relative paths are stored in the data files, and also how they're reported...

enhancement
next

For any of the files in my project, the cobertura.xml contains always a 0 for complexity. I have hard time in understanding if the value is not computed by coverage.py...

bug
not a bug

**Describe the bug** If an implicit namespace package (directory without `__init__.py`) exists within a source module and is not imported, coverage won't discover it or report it as uncovered. I...

bug

**Current Problem** I'm running coverage for multiple Python versions on both Linux and Windows. They are all run on Gitlab, with the Windows tests using Python install on the host,...

enhancement

**Describe the bug** When the tested program is run from the coverage module (-m coverage run), the sys.path is wrong. **To Reproduce** Create the following small python script: ``` #!/usr/bin/env...

bug
question
run

*Originally reported by* **Anonymous** ---------------------------------------- Hello, I didn't find this option anywhere in the documentation so i hope i haven't missed anything. The idea is that right now we can...

enhancement
target

**Is your feature request related to a problem? Please describe.** In our team, we want to assert that at least 80% branch coverage are reached. Meanwhile, statement coverage should also...

enhancement
target