Testing Un-testable Code with Fakes in Visual Studio 2012

1 hour, 15 minutes, 56 seconds


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.
For more information, check out this course on Microsoft Virtual Academy:

Follow the discussion

  • Oops, something didn't work.

    Getting subscription
    Subscribe to this conversation

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.