How Do I Refactor my Code in Visual Studio?
These two videos show how to use the refactoring tools in Visual Studio. Video Part 1 Video Part 2
These two videos show how to use the refactoring tools in Visual Studio. Video Part 1 Video Part 2
An example of refactoring to clean up a python script. [vimeo 7642937 400 635] Blog source of the video
Success on an Agile project relies heavily on the people in the trenches. Developers, testers, and product managers focused together, can deliver astonishing accomplishments in a short amount of time. Extraordinary results require discipline, motivation and alignment. Test Driven Development (TDD) and Refactoring creates the momentum to help developers organically …
Nature abhors a vacuum. It turns out she also abhors static dependencies (I have my sources). Static dependencies are the modern-day globals, often exposed through classes named “Helper”. I’ve certainly been guilty of overusing static dependencies in the past, with classes like “LoggingHelper”, “SessionHelper”, “DBHelper” and so on. The problem …
In this screencast we will demonstrate how to use the Object Builder pattern to create and setup objects for tests. In the first part we discussed how to introduce the base class for the unit tests to improve readability and cleanness of code. http://highoncoding.com/Articles/443_Refactoring_Unit_Tests_Part_2_Using_Object_Builder_Pattern.aspx
In this screencast we will refactor unit tests to make it more readable. It is very important that you refactor your unit tests. Unit test code is not part of the production but refactoring them can help you in the long run and will provide benefits when maintaining the application. …