The ALM Rangers have recently published a guide on their page “Visual Studio Test Tooling Guidance” with best practice on Unit Testing and the Microsoft Fakes Framework with thorough examples and Hands-On Labs called “v1.0 - Better Unit Testing with Microsoft Fakes”.
- You may download the current version of the guide from here:
http://vsartesttoolingguide.codeplex.com/downloads/get/628516 - You may download the current version of the Hand-On Labs from here:
http://vsartesttoolingguide.codeplex.com/downloads/get/628517
I really recommend looking into the guide since it contains a rich set of information on how to start using the Fakes Framework as well as how to use it in advanced scenarios.
And if you are already reviewing guides, please also take a look at all the other guides that are available on the site such as :
- v1.1 - Visual Studio 2012 Coded UI Test Guide
http://vsartesttoolingguide.codeplex.com/releases/view/88005 - v1.0 - Visual Studio 2012 MTM Guide
http://vsartesttoolingguide.codeplex.com/releases/view/88003
Happy reading and feel free to add comments with other guides that you find useful around software testing and especially the Microsoft Fakes Framework.
If you don’t know what the Microsoft Fakes Framework is, please stay tuned, since I am going to give you a first overview of its features and some examples in a future blog post series on this subject in the next weeks.