python-coverage

preventing python coverage from including virtual environment site packages

preventing python coverage from including virtual environment site packages Question: I am new to coverage and ran into a strange problem. My coverage is taking my virtual environment site packages into account. Here is the output of the coverage run: coverage run test.py ……………….. ———————————————————————- Ran 20 tests in 0.060s OK (atcatalog)- – – – …

Total answers: 4

combine python coverage files?

combine python coverage files? Question: I’m wondering if it’s possible to combine coverage.xml files into 1 file to see global report in HTML output. I’ve got my unit/functional tests running as 1 command and integration tests as the second command. That means my coverage for unit/functional tests are overridden by unit tests. That would be …

Total answers: 5

How to Fix Python Nose: Coverage not available: unable to import coverage module

How to Fix Python Nose: Coverage not available: unable to import coverage module Question: I can’t seem to get code coverage with Nose to work, despite having the plugin installed. Any ideas on how to fix this? 12:15:25 ~/sandbox/ec$ nosetests –plugins Plugin xunit Plugin deprecated Plugin skip Plugin multiprocess Plugin failuredetail Plugin capture Plugin logcapture …

Total answers: 2