Jul 11, 2023
🤦‍♂️ Anyone that uses code coverage in this way gets what deserve. Code coverage isn’t the issue here, unprofessional behavior is.
Code coverage is a useful metric when used properly to identify areas that are missing tests. That’s it. Nothing more. It doesn’t say anything about the quality of those tests because that’s not it’s job.
Tools are only truly useful when used by professionals that know how to use them. If you have people abusing good testing practice to boost a code coverage number, fire them.