DEV Community

Discussion on: Addressing Tech Debt without Killing Quality

Collapse
 
indietasten profile image
NDTSTN

One more idea that just came to my mind is to have a complete copy of the data, which would enable you to verify afterwards, if the new routine correctly mutates the data as well as returning the expecting result.

So you can run legacy and new routines side by side for a couple days, then make a diff between databases, and see how the new code creates different data. Some of the changes might be within tolerances, for things like timestamps that aren't the same down to the microsecond, but for many fields this would probably work quite well. Just a thought.