4 ms·
Typical 100% coverage metric vanity with usually no real world benefits. > If you said that in an interview for code you'd written then I'd point to the door.
by asadkn 6y ago
Typical 100% coverage metric vanity with usually no real world benefits.
> If you said that in an interview for code you'd written then I'd point to the door.
And they would be better off not having to work at a place with an intolerable environment of the kind.
- sys_64738 6y agoYou aim for maximizing code paths in the minimum test cases. Test cases written correctly can be quickly reused with different input values. Design to test. Prove your code through automated unit testing. Skipping proper test development leads to terrible tech debt when you try to maintain the code. Error paths are generally the place that doesn't get most coverage and those are where you crash a lot of programs. This stuff is elementary.