![[personal profile]](https://www.dreamwidth.org/img/silk/identity/user.png)
Unit tests save my bacon today, as I was trying to figure out why my code is suddenly failing, narrowed it down to a pair of functions, think "urgh, ought to write unit tests for those", then discover that I have already done so. Whee!
(And once I had the problem visible it was about two minutes' work to spot the problem, fix it, rerun the tests, discover that everything was all right, and cheer. Going to get celebratory coffee may take a little longer than two minutes.)
(And once I had the problem visible it was about two minutes' work to spot the problem, fix it, rerun the tests, discover that everything was all right, and cheer. Going to get celebratory coffee may take a little longer than two minutes.)