Assertions For Legacy Code

last modified: January 10, 2002

From UnitTestingLegacyCode

Assertions, especially preconditions. If you write only the ones that you see immediately, you can go over large parts of the code relatively quickly. They will spot the first handful of bugs for you, warn you in case of some bad refactorings, and generally help to bootstrap you into the UnitTest - refactor - cycle. -- FalkBruegmann


Loading...