DEV Community

Discussion on: Code Coverage is Useless

Collapse
 
zimski profile image
CHADDA Chakib

Thanks for your post.

For me, the coverage is almost related to the "how often i will update this code in the futur"

For me this is the key metric to know if I need reasonable test coverage on this part of code or I can test manually once and have a weak coverage.

Also, if you have some code in your project and used by 1% of your customers, you should pay to it as much attention to the rest.

If the code exist it's important, otherwise remove it