|
|
|
|
|
by samus
1366 days ago
|
|
There is significant danger that management will use these metrics to micromanage your efforts. They will refuse changes that temporarily drive that number up, and force you to drive it down just to satisfy the tool. For example, it is easy to see that low code coverage is a problem. The correct takeaway from that is to identify spots where coverage is weakest, rank them by business impact and actual risk (judged by code quality and expected or past changes) and add tests there. Iterate until satisfied. The wrong approach would be to set something above 80% coverage as a strict goal, and force inconsequential and laborious test suites on to old code. |
|