Unit Testing with Microsoft Fakes

Creating good, effective unit tests in .NET can be harder than it seems. In some cases, the code is designed so that isolating one component from another is easy. However, in most other cases, achieving this isolation is very difficult. First included in Visual Studio 2012, Microsoft Fakes helps you cross this gap.

Microsoft Fakes makes it easier and faster to create well-isolated unit tests when you do have systems that are “testable”, letting you focus on writing good tests and not on writing test plumbing. It also enables you to isolate and test code that is not traditionally easy to test.

Video producer: Sangamon Valley .NET User Group (SVNUG)