Stop Debug Messages from Disrupting Unit Tests
When writing code, I frequently add Debug checks to alert me that an incorrect assumption has been made. During development (debug build code), I want to know I haven’t handled a case. During production (release build code), I don’t want to interrupt the user experience. This means that for an unhandled case, the method should be written to… Read More »