Sunday, March 30, 2014

Unit Test a project having external dependency using Fakes and Visual Studio 11

Inline image 1

    I'll explain the steps to generate unit tests for a project which calls a WCF service using Fakes. Microsoft Fakes is an isolation framework for creating delegate-based test stubs and shims in .NET Framework applications. The Fakes framework can be used to shim any .NET method,