Creating Quality SoftwareA Look at Visual Studio 2010 Testing ToolsJeff BramwellEnterprise Applications ArchitectFarm Credit Services of AmericaSeptember 10th, 2010Russ WagnerDirector of Enterprise ArchitectureFarm Credit Services of America
OmahaTeam System User GroupMeets:	4th Tuesday of every other monthNext Meeting:Tuesday, September 28thTopic:	Creating Quality Software: A Look at Visual Studio 2010 Testing ToolsSpeakers:	Russ Wagner and Jeff BramwellLocation:	Farm Credit Services of America, 5015 South 118th St, Omaha, 68137Giveaways:Microsoft Visual Studio 2010 Ultimate with MSDN Subscription!www.OTSUG.org       twitter.com/OmahaTSUG
This Presentation has been modified from its original version.It has been formatted to fit HDC’s session length.
AgendaBlahBlahBlahDEMO!BlahBlahBlahDEMO!
Visual Studio 2010 Test ToolsVisual Studio 2010 Test ProfessionalVisual Studio 2010 ProfessionalVisual Studio 2010 UltimateVisual Studio 2010 PremiumLab ManagementMicrosoft Test ManagerBasic Unit TestsDatabase Unit TestsGeneric TestsOrdered TestsCoded UI TestsLoad TestsWeb Performance TestsTest Impact AnalysisCode Coverage
Test ManagerCreate:Test plansTest suitesTest configurationsTest casesShared StepsAll artifacts stored within TFS
Test Manager (cont’d)Create and run manual testsFile bugsManual tests can be recordedUse recordings to “fast forward” through testsCan also be used to created Coded UI TestsInputs can be parameterized
Work Item TypesTest CaseTest actionsExpected resultsParameter valuesRelated itemsEtc.Shared StepsOne or more test steps shared across test cases
Data CollectionRecords:ActionsASP.NET Client ProxyEvent LogIntelliTraceNetwork EmulationSystem InformationTest ImpactVideo Recorder
Coded UI TestsProvides automated UI testingSupport for WinForms, WPF, & ASP.NETSilverlight support expected by end of yearCan convert manual tests to Coded UI testsCan create by recording user actionsInputs can be data-driven (parameterized)Test cases can be linked to user requirementsC# and VB supported
Test Impact ViewIdentifies Code ChangesCalling TestImpacted TestsRun/Debug existing testsObfuscated binaries not supported
Load TestExecutes test(s) based on test scenarioSupports all test typesSupports network and browser emulationRun ad-hoc or as part of a scheduled build
Resources and LinksJeff Bramwelljbramwell@otsug.orgOmaha Team System User Groupwww.otsug.orgTesting the Applicationhttp://bit.ly/VisualStudioTestingCoded UI Tests Supported Platformshttp://bit.ly/CodedUIPlatformsVisual Studio 2010 Test Case Import Utilitieshttp://tcmimport.codeplex.com/Test Scribehttp://bit.ly/TestScribeVisual Studio Hands-on-Labs and Sample Datahttp://bit.ly/VS2010HOLRemote Test Runnerhttp://rtr.codeplex.comRuss Wagnerrwagner@otsug.org

HDC 2010 - Creating Quality Software: A Look at Visual Studio 2010 Testing Tools

  • 1.
    Creating Quality SoftwareALook at Visual Studio 2010 Testing ToolsJeff BramwellEnterprise Applications ArchitectFarm Credit Services of AmericaSeptember 10th, 2010Russ WagnerDirector of Enterprise ArchitectureFarm Credit Services of America
  • 2.
    OmahaTeam System UserGroupMeets: 4th Tuesday of every other monthNext Meeting:Tuesday, September 28thTopic: Creating Quality Software: A Look at Visual Studio 2010 Testing ToolsSpeakers: Russ Wagner and Jeff BramwellLocation: Farm Credit Services of America, 5015 South 118th St, Omaha, 68137Giveaways:Microsoft Visual Studio 2010 Ultimate with MSDN Subscription!www.OTSUG.org twitter.com/OmahaTSUG
  • 3.
    This Presentation hasbeen modified from its original version.It has been formatted to fit HDC’s session length.
  • 4.
  • 5.
    Visual Studio 2010Test ToolsVisual Studio 2010 Test ProfessionalVisual Studio 2010 ProfessionalVisual Studio 2010 UltimateVisual Studio 2010 PremiumLab ManagementMicrosoft Test ManagerBasic Unit TestsDatabase Unit TestsGeneric TestsOrdered TestsCoded UI TestsLoad TestsWeb Performance TestsTest Impact AnalysisCode Coverage
  • 6.
    Test ManagerCreate:Test plansTestsuitesTest configurationsTest casesShared StepsAll artifacts stored within TFS
  • 7.
    Test Manager (cont’d)Createand run manual testsFile bugsManual tests can be recordedUse recordings to “fast forward” through testsCan also be used to created Coded UI TestsInputs can be parameterized
  • 8.
    Work Item TypesTestCaseTest actionsExpected resultsParameter valuesRelated itemsEtc.Shared StepsOne or more test steps shared across test cases
  • 9.
    Data CollectionRecords:ActionsASP.NET ClientProxyEvent LogIntelliTraceNetwork EmulationSystem InformationTest ImpactVideo Recorder
  • 10.
    Coded UI TestsProvidesautomated UI testingSupport for WinForms, WPF, & ASP.NETSilverlight support expected by end of yearCan convert manual tests to Coded UI testsCan create by recording user actionsInputs can be data-driven (parameterized)Test cases can be linked to user requirementsC# and VB supported
  • 12.
    Test Impact ViewIdentifiesCode ChangesCalling TestImpacted TestsRun/Debug existing testsObfuscated binaries not supported
  • 13.
    Load TestExecutes test(s)based on test scenarioSupports all test typesSupports network and browser emulationRun ad-hoc or as part of a scheduled build
  • 16.
    Resources and LinksJeffBramwelljbramwell@otsug.orgOmaha Team System User Groupwww.otsug.orgTesting the Applicationhttp://bit.ly/VisualStudioTestingCoded UI Tests Supported Platformshttp://bit.ly/CodedUIPlatformsVisual Studio 2010 Test Case Import Utilitieshttp://tcmimport.codeplex.com/Test Scribehttp://bit.ly/TestScribeVisual Studio Hands-on-Labs and Sample Datahttp://bit.ly/VS2010HOLRemote Test Runnerhttp://rtr.codeplex.comRuss Wagnerrwagner@otsug.org