What is the code-coverage percentage on your project?

后端 未结 7 1048
失恋的感觉
失恋的感觉 2021-02-11 01:17

What is the % code-coverage on your project? I\'m curious as to reasons why.

Is the dev team happy with it? If not, what stands in the way from increasing it?

7条回答
  •  夕颜
    夕颜 (楼主)
    2021-02-11 02:00

    We run at 85% code coverage, but falling below it does not break the build. I think using code coverage as an important metric is a dangerous practice. Just because something is covered in a test does not mean the coverage is any good. We try to use it as guidance for the areas we are weakly covered, not as a hard fact.

提交回复
热议问题