Becoming a Jedi, Part 3: Refactoring I

Posted in Development, Frameworks on June 19, 2008


Get Microsoft Silverlight

My third episode of Becoming a Jedi is live. In this episode, I start looking at ReSharper's refactoring capabilities.

After finishing the episode, I realized that I committed a huge refactoring faux pas. I neglected to run unit tests after each refactoring. I was feeling cocky and just doing simple refactorings such as renames and similar. When I tried to run the application later, it failed because it could no longer find PetShop.SqlServerDAL.Category, which had been renamed to PetShop.Repositories.CategorySqlRepository. So even on simple refactorings, you need the safety net of a good suite of unit tests. Lesson learnt.

Watch Video on External Site Watch Video

Tags: C#, .NET Framework, Becoming a Jedi, ReSharper