Movatterモバイル変換


[0]ホーム

URL:


Codecov JSON report format

While Codecov supportsa large set of standard coverage formats, sometimes you need to add support to a third-party tool that doesn't have it.

Below is a very simple json coverage report that can be used if you are building a custom format.

{  "coverage": {    "filename": {      "1": 0,      # line 1 missed      "2": 1,      # line 2 hit once      "3": "1/2",  # line 3 partial hit, one missing branch      "4": "1/3",  # line 4 partial hit, two missing branches         # skip line 5      "6": null,   # skip line 6      "7": 5       # line 7 hit 5 times    }  }}

Updated over 1 year ago



[8]ページ先頭

©2009-2025 Movatter.jp