What is the code-coverage percentage on your project?

后端 未结 7 1047
失恋的感觉
失恋的感觉 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:07

    A project I did a couple of years ago achieved 100% line coverage but I had total control over it so I could enforce the target.
    We've now got an objective to have 50% of new code covered, a figure that will rise in the near future, but no way to measure it. We will soon have tools in place to measure code coverage on every nightly run of the unit tests, so I'm convinced our position will improve.

提交回复
热议问题