Re:Software Engineering at Google (2017)
by fergus_google on Friday January 04, 2019 @10:26AM
(#18824619)
It's common for code at Google to be rewritten without reusing most of the existing tests -- instead, new tests are written for the new code. Yes, this risks not understanding edge cases. But not all of those edge cases are still important.
[ Parent
| on HN ]
Re:Software Engineering at Google (2017)
by why_only_15 on Friday January 04, 2019 @10:17PM
(#18829674)
Maybe a compromise would be that if you rewrite old code you individually go through old tests and have to sign off on deprecating them, and say edge case X is no longer important, so you keep most tests while not using ones that don't matter.