Improving quality with unit tests and fakes

Sign in to queue

Description

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: https://www.microsoft.com/visualstudio/11/en-us/products/compare

Embed

Download

Download this episode

The Discussion

  • User profile image
    Hamaze

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

  • User profile image
    Watson

    I recently ran across this from Tech Ed.

    http://channel9.msdn.com/Events/TechEd/NorthAmerica/2012/DEV411

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

  • User profile image
    wkempf

    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 http://msdn.microsoft.com/en-us/library/hh549175
    in the MSDN Library gives the details

  • User profile image
    Sadegh126

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

  • User profile image
    GaryBushey

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

  • User profile image
    alvinho

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

  • User profile image
    golnazal

    opening thread

  • User profile image
    myasar
    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
    eolamisan

    There are fakes in VS 2013 Premium.

  • User profile image
    cdichter

     

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

     

     

  • User profile image
    robert

    can change file dll to source file plz help me

Add Your 2 Cents