News for hackers. Stuff that matters.
Re:The little legacy code that could: a fable of software ow... by zadokshi on Saturday June 29, 2019 @12:15AM (#20310787)
100% test coverage is not so valuable. But, I would argue that test coverage for the bits of complex logic that people are “afraid to touch for fear of breaking it” are valuable. Create tests for this code before you change it for assurance you haven’t broken it. If there are weird border cases the original developer wants to ensure remain supported, you need a test case for it.

There are no comments on this comment yet.