Improving quality with unit tests and fakes

Download this episode

Download Video


This short video shows how to run and manage unit tests from multiple providers in Visual Studio, and create fakes to bring complex systems under test.

Video available in: Chinese (Simplified) Chinese (Traditional) Czech French German Italian Japanese Korean Polish Portuguese (Brazil) Russian Spanish Turkish

Please refer to the edition comparison chart for more details:



Available formats for this video:

Actual format may change based on video formats available and browser capability.

    The Discussion

    • User profile image

      Are there any blogs or tutorials that describe using Fakes in more depth in VS 2012 Ultimate?

    • User profile image

      I recently ran across this from Tech Ed.

      May want to jump to 39 minutes to get the good stuff.

    • User profile image

      WTH? "Note: Fakes is available only in Utlimate edition." Don't you think you should change the title here, rather than rely on that little disclaimer?

    • User profile image
      Patrick MSFT

      Isolating Code under Test with Microsoft Fakes
      in the MSDN Library gives the details

    • User profile image

      hi .Pleas make up and finsh enginering that have More Help also need ..thanking you friends ...

    • User profile image

      Title is VERY misleading since Fakes is only available in the Ultimate edition

    • User profile image

      @GaryBushey: Thanks for the feedback - the Title has been updated to avoid the confusion.

    • User profile image

      opening thread

    • User profile image
      I don't understand that why code coverage is analyzing unit test assemblies,
      as you can see also in linked video.
      I think it make sense to check coverage for production code but not for
      the unit test assemblies,
      Please tell us if this is a bug in VS2013 or some other reason.

      I found about runsettings but switching from testsettings would
      ignore testsettings' deployment (where i can specify test data
      files and directories to deploy in addition to the target assemblies).
      ExcludeFromCodeCoverage attribute would be nice for new projects
      but what about projects migrating from VS2010
    • User profile image

      There are fakes in VS 2013 Premium.

    • User profile image


      Note that you need Update 2 or above and then to have Fakes in VS 2013 Premium.



    • User profile image

      can change file dll to source file plz help me

    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.