“Refactoring” refers to the discipline of improving the design of existing code without changing its behavior. It is usually thought of as a way to deal with old legacy code that is functional but poorly designed and thus hard to work with. Since TDD focuses on driving new behavior from tests, how would refactoring play … Continue reading "Refactoring Applied to TDD"