coveragepy.vim icon indicating copy to clipboard operation
coveragepy.vim copied to clipboard

100% Coverage when much is uncovered

Open dwenjii opened this issue 2 years ago • 0 comments

I'm using:

  • Python 3.11.2
  • coveragepy version 7.4.0
  • pytest version 7.4.3
  • pytest-cov 4.1.0

I'm trying to get coveragepy.vim to work, but I can't seem to get the coverage portion to see uncovered lines.

Assume I clone this ciscoconfparse2 repo (ref git hash 2feeff184d4dee6a2c3b10ff756e0e1151f2ffd2) and then edit ciscoconfparse2/models_cisco.py. I currently see Coveragepy ==> 100% covered when I run :Coveragepy show, but that's obviously not true. There are loads of uncovered methods in that file.

How do I debug / fix what is wrong?

image

dwenjii avatar Jan 05 '24 17:01 dwenjii