pycobertura icon indicating copy to clipboard operation
pycobertura copied to clipboard

[Feature Request] Do a delta on previously non-exist files

Open chixiangzhou opened this issue 3 years ago • 0 comments

Adding a new file is a common use case in software development. Developers might be interested in how many lines are covered in the new file, and what is the delta.

Currently, pycobertura diff report considers that previously non-exist files cannot do a delta, and marks the Column Cover as "-". IMO, it would make more sense to consider that previously non-exist files are "100%" covered, and do a delta after the new file is introduced. Thus, the diff coverage can be shown in the Column Cover.

chixiangzhou avatar Apr 08 '22 08:04 chixiangzhou