Testing Un-testable Code with Fakes in Visual Studio 2012

Sign in to queue

Description

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:

Day:

3

Level:

400 - Expert

Code:

DEV411

Embed

Download

Download this episode

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

The Discussion

Comments closed

Comments have been closed since this content was published more than 30 days ago, but if you'd like to send us feedback you canĀ Contact Us.