A good test suite is essential for safe refactoring. It is the only way to ensure that your modifications don’t break your code. Therefore, I start my refactoring by writing a test suite for Martin Fowler’s example program. I use EclEmma to check the coverage of the tests and to […]