Testing and Refactoring Legacy Code
You always use Test-Driven Development when developing a new feature for your favourite application, right? But today I’d like to talk about a different way of using tests; I’ll walk you through a recent experience that required working with legacy code. I’ll try to present a hands-on exercise, extracted from a real-life context, where we use tests to understand, refactor and…