Assertions For Legacy Code

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


EditText of this page (last edited January 10, 2002) or FindPage with title or text search