Testing Untestable Code with Stubs and Shims in Visual Studio 2012

Download

Right click “Save as…”

+ My Schedule- My Schedule
One of the most challenging things developers face when unit testing their code is writing good tests that exercise only the parts they want to test. Dependencies outside your code are the number-one cause of slow, brittle unit tests. In this talk, we go deep on a new set of features in Visual Studio 2012 that helps you create better isolated, faster running and more dependable unit tests. Using real code examples, we will show you how Fakes can help you get those hard-to-test things tested, and provide guidance on how and when to use it. We will also take a look at some of the new capabilities available in Visual Studio 2012 Update 1 to help unit test server-side SharePoint code.
For more information, check out this course on Microsoft Virtual Academy:

Follow the Discussion

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.