Testing and Refactoring Legacy Java Code

Testing and Refactoring Legacy Java Code

Working with legacy Java code is tough: no tests, no documentation, and fear of breaking other parts of the code. The only way to deal with that is to test and refactor merciless. For the majority of us, legacy code is part of our life and learning how to embrace it can make things far more enjoyable.

In this live coding session, Sandro Mancuso demonstrates how to overcome the most common problems found when testing legacy code. He takes a piece of messy Java code, test it until is 100% covered and then show how to refactor it in order to bring the business language and requirements to life. This session is full of tips and tricks you can start applying immediately. Although the code is in Java, the same principles can be applied in any language.

Video producer: http://itakeunconf.com/