Testing Un-testable Code with Fakes in Visual Studio 2012

Play 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.

Embed

Download

The Discussion

Add Your 2 Cents