Top "Coverage.py" questions

coverage.

How to properly use coverage.py in Python?

I've just started using Coverage.py module and so decided to make a simple test to check how it works. …

python unit-testing python-3.x coverage.py
Using py.test with coverage doesn't include imports

For Jedi we want to generate our test coverage. There is a related question in stackoverflow, but it didn't help. …

python pytest coverage.py
Is it possible exclude test directories from coverage.py reports?

I'm kind of a rookie with python unit testing, and particularly coverage.py. Is it desirable to have coverage reports …

python testing software-quality code-coverage coverage.py
How do I make coverage include not tested files?

I have just started writing some unit tests for a python project I have using unittest and coverage. I'm only …

python unit-testing python-unittest coverage.py
coverage.py: exclude files

How do I exclude entire files from coverage.py reports? According to the documentation you can exclude code by matching …

python testing software-quality code-coverage coverage.py
coverage.py does not cover script if py.test executes it from another directory

I got a python script which takes command line arguments, working with some files. I'm writing succeeding tests with py.…

python pytest coverage.py
Coverage.py warning: No data was collected. (no-data-collected)

I am trying to find the coverage using coverage module for a django project but gets Coverage.py warning: No …

python django pytest coverage.py test-coverage
How to Fix Python Nose: Coverage not available: unable to import coverage module

I can't seem to get code coverage with Nose to work, despite having the plugin installed. Any ideas on how …

python nose coverage.py python-coverage
combine python coverage files?

I'm wondering if it's possible to combine coverage.xml files into 1 file to see global report in HTML output. I've …

python unit-testing code-coverage coverage.py python-coverage
py.test gives Coverage.py warning: Module sample.py was never imported

I ran a sample code from this thread. How to properly use coverage.py in Python? However, when I executed …

pytest coverage.py