My third episode of Becoming a Jedi is live. In this episode, I start looking at ReSharper’s refactoring capabilities.
|Part 1 of N: Code Browsing||streaming||download|
|Part 2 of N: Code Cleanup||streaming||download|
|Part 3 of N: Refactoring I||streaming||download|
Streaming requires Silverlight 1.0 or higher. Download is via Microsoft Skydrive.
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.