How to Build Characterization Tests Before Refactoring Legacy Code
The first thing many engineers want to do when they inherit legacy code is improve it.
You find a function that's difficult to understand. Or you see duplicated logic, deeply nested conditions, databa
freecodecamp.org20 min read