What I Have Learned Today - #011
A quick one today
I did a code refactor 3 days ago. Today I learnt the importance of testing before pushing your code changes.
Because of the refactoring, a portion of the nightly regression tests misbehaved. And I only realised today đŚ. Of course I did test the few scenarios before committing the changes; yet⌠I didnât cater for all possible paths. Luckily a fix was readily available.
So next time I do a refactor, I need to remember to test, test, and⌠TEST!
This post is part of a series of articles about âWhat I Have Learned Todayâ; acknowledging every day the thing I have learned. Feel free to read the other posts. all opinions in this article are my own and not necessarily represent the views of my employer.