Testing Un-testable Code with Fakes in Visual Studio 2012

Embed code for this video

Copy the code above to embed our video on your website/blog.

Close

Video format

Option selected may change based on video formats available and browser capability.

Close

Download

Right click “Save as…”

Slides (view online)
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 feature in Visual Studio 2012 called Fakes that you can use to create better unit tests. Using real code examples, we show you how fakes help you get those hard-to-test things tested, and provide guidance on how and when to use it.

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.