You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The following command produces different output between the console and the html report. diff-cover --show-uncovered --html-report diff-report.html coverage.xml
Specifically, the line number is correct in diff-report.html, but incorrect in the terminal output.
-------------
Diff Coverage
Diff: origin/main...HEAD, staged and unstaged changes
-------------
someFile1 (53.8%): Missing lines 221-225,234-239,241
someFile2 (100%)
someFile3 (100%)
someFile4 (87.5%): Missing lines 100-102
someFile5 (72.0%): Missing lines 18-28,30,34-35
-------------
Total: 109 lines
Missing: 29 lines
Coverage: 73%
-------------
--- someFile1 ---
0001: <-- line numbers are incorrectly numbered as starting from 0001, not 217 which is where they start in the html doc.
0002:
0003:
0004:
0005:
0006:
0007:
0008:
0009:
0010:
0011:
0012:
0013:
Indicative HTML report:
The text was updated successfully, but these errors were encountered:
The following command produces different output between the console and the html report.
diff-cover --show-uncovered --html-report diff-report.html coverage.xml
Specifically, the line number is correct in
diff-report.html
, but incorrect in the terminal output.Indicative HTML report:
The text was updated successfully, but these errors were encountered: