Agile Zone is brought to you in partnership with:

Eric has posted 96 posts at DZone. View Full User Profile

Matt Vanvleet on Legacy Code Testing

  • submit to reddit
Matt Vanvleet is the VP of practice management and product development at Pillar Technology.  Pillar has created a product called Verde which lets developers use modern practices such as TDD and CI within legacy code bases.  Legacy code, which Vanvleet defines as "code that is very hard to change," is not easy to test.  You commonly need to know how the rest of the system works in order to thoroughly test a code base.  Vanvleet says around 80% of projects involve taking an existing system and enhancing it in some way.

The advantage of Verde is that it generates characterization tests for your legacy code.  Developers can then use those tests in any of their modern toolsets.  Vanvleet says this tactic keeps developers from going into unfamiliar code bases and potentially breaking something that was working before.  Vanvleet concludes by talking about the features in the current version of Verde and the features we can expect in the next version.
Published at DZone with permission of its author, Eric Hagan.

(Note: Opinions expressed in this article and its replies are the opinions of their respective authors and not those of DZone, Inc.)