Entries:
Comments:
Posts:

Loading User Information from Channel 9

Something went wrong getting user information from Channel 9

Latest Achievement:

Loading User Information from MSDN

Something went wrong getting user information from MSDN

Visual Studio Achievements

Latest Achievement:

Loading Visual Studio Achievements

Something went wrong getting the Visual Studio Achievements

Brownfield Development: Taming Legacy Code with Better Unit Testing and Microsoft Fakes

Download

Right click “Save as…”

Slides (view online)
+ My Schedule- My Schedule

Working with legacy code is time consuming and risky. One of the most important things you can do in these situations is leverage the power of effective unit testing to help control and define the behavior of the code. But when you are dealing with code that wasn’t designed with testability in mind, this can be very difficult. The tools and techniques you need are different than what you typically use when working in a test-first greenfield world. Visual Studio has a host of capabilities to help navigate this problem space. In addition to traditional unit testing tooling, the Visual Studio Fakes framework provides a powerful way to overcome many of the challenges faced when unit testing legacy code. In this session, we dive deep into how to effectively create unit tests when in a brownfield development environment. We explore how the Fakes framework helps overcome many of the common difficulties faced with legacy code. Attendees of this session walk away with a much better understanding of how Visual Studio unit testing tools can relieve the pain of bending legacy code to your will.

For more information, check out this course on Microsoft Virtual Academy:

Follow the Discussion

  • Will this be helpful to an organization that has not managed to implement any uniting, but wants to?

  • 7 times out of 10 I find myself doing brownfield development;  Hope to take away some tips from the field and understand how others estimate and plan for integration efforts.

Remove this comment

Remove this thread

close

Comments Closed

Comments have been closed since this content was published more than 30 days ago, but if you'd like to continue the conversation, please create a new thread in our Forums,
or Contact Us and let us know.