
What is legacy code?
Legacy code is simply code without tests.
Benefits of tests
Behavior is central to understanding the benefits of testing:
Behavior is the most important thing about software. It is what users depend on. Users like it when we add behavior (provided it is what they really want…