Managing Test Labs Without the Headaches

468 views

Published on

In 2010, Microsoft released a bold new features to support management of virtual test environments. “Lab Management” provided the ability to easily spin up test environments, perform automated build and deployments, run automated tests, and collect diagnostic data. Unfortunately, many teams were discouraged by the infrastructure requirements. Now, with Visual Studio 2012 and standard environments, even small teams or groups that can’t use Microsoft’s Hyper-V can still benefit from lab management. This session will demonstrate how to configure your existing environments for many of the same compelling features formally available only with Hyper-V. Come join us for this free Live Web Workshop!

Published in: Technology
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
468
On SlideShare
0
From Embeds
0
Number of Embeds
65
Actions
Shares
0
Downloads
14
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide
  • "In 2010, Microsoft released a bold new featureset to support management of virtual test environments. ""Lab Management"" provided the ability to easily spin up test environments, perform automated build and deployments, run automated tests, and collect diagnostic data. Unfortunately, many teams were discouraged by the infrastructure requirements.Now, with Visual Studio 2012 and standard environments, even small teams or groups that can't use Microsoft's Hyper-V can still benefit from lab management. This session will demonstrate how to configure your existing environments for many of the same compelling features formally available only with Hyper-V. Come join us for this free Live Web Workshop!"
  • This is the teaser for the class – we will preview (in slides) many of the topics that we’ll dive into deeply as part of this training class…
  • Test Runner:Show Test Explorer windowBuild solutionRun all tests and review test runnerSet to compile on buildRebuild againxUnit and nUnit:Open External web tests and show xUnit / explain why not in runnerTools > Extensions & UpdatesSearch online for xUnitDownload / install / restartRepeat process for nUnitWait for a moment… Show failed testAdd fakes for FiberkamFibre.DAL in .TestsAdd a new test for EmployeesControllerTest
  • This is the teaser for the class – we will preview (in slides) many of the topics that we’ll dive into deeply as part of this training class…
  • Source: http://blogs.msdn.com/b/bharry/archive/2011/10/31/lab-management-improvements-in-tfs-11.aspx Source: http://msdn.microsoft.com/en-us/library/bb385901(v=vs.110).aspx
  • Source: http://msdn.microsoft.com/en-us/library/dd997438(v=VS.110).aspx
  • Test Runner:Show Test Explorer windowBuild solutionRun all tests and review test runnerSet to compile on buildRebuild againxUnit and nUnit:Open External web tests and show xUnit / explain why not in runnerTools > Extensions & UpdatesSearch online for xUnitDownload / install / restartRepeat process for nUnitWait for a moment… Show failed testAdd fakes for FiberkamFibre.DAL in .TestsAdd a new test for EmployeesControllerTest
  • This is the teaser for the class – we will preview (in slides) many of the topics that we’ll dive into deeply as part of this training class…
  • Want to know more?
  • Want to know more?
  • Managing Test Labs Without the Headaches

    1. 1. Managing Test Environments(without the headaches!)Imaginet and ALM…Efficiently Build Better Software
    2. 2. Agenda• Overview– Test Environments– “Lab Management” 2010• “Lab Management” 2012– Agents– Standard Environments• Conclusion
    3. 3. • Group of machines configured to support testing• Generally…– Shared resources– IT and/or Dev Managed• Configuration• Reconfiguration• Backup/Restore• Deployment– Ongoing maintenance effortsTest EnvironmentWhat is a “Test Environment”?WebServerDatabaseServerAppServer
    4. 4. Environment #2 Environment #3Environment #1Virtual and Physical Test EnvironmentsVirtual Server (Hyper-V, VMWare, …)Environment #2 Environment #3VM #1VM #2VM #3VM #4VM #5VM #6
    5. 5. Test Environments with Visual Studio 2010• Three options…– As we’ve always done it…(Headache!)– Manually using virtual machines(Better…)– With “Lab Management” featuresin Microsoft Test Manager (MTM)Environment #1Virtual ServerEnvironment #2VM #1VM #2VM #3?
    6. 6. Lab Management with Visual Studio 2010• First Generation product• Core Functionality:– Physical & Virtual Test Environments– Diagnostic Data Collection– Environment Viewer for accessing environments– Automated Testing (in the environment)– Build-Deploy-Test (BDT) Workflow*– Test Environment Snapshots*– Library for test machines and environments*– Cloned/network-isolated test environments** Out-of-the-box for Hyper-V with SCVMM only
    7. 7. DEMONSTRATIONSCVMM Lab Environments• Managing SCVMMEnvironments– Create– Deploy– Store• Using the Library
    8. 8. Agents with Visual Studio 2010 Lab Management• Installed on the “guest”lab machines• Three 2010 agent types:– Test AgentEnables automated testing on theclient machine– Build AgentEnables automated deployment to theclient machine– Lab AgentEnables Network Isolation(More headaches?)
    9. 9. How does it work?Team Foundation ServerLab ManagementTest ManagementBuild ManagementWork Item TrackingVersion ControlReportingTestController(s)BuildController(s)StandardEnvironment(s)Hyper-VHost(s)System Center VirtualMachine Manager(SCVMM)VirtualEnvironment(s)LibraryServer(s)Microsoft Test Manager (Lab Center and Environment Viewer)
    10. 10. Agenda• Overview– Test Environments– “Lab Management” 2010• “Lab Management” 2012– Agents– Standard Environments• Conclusion
    11. 11. Changes in Lab Management 2012• Simplified Agent Configuration– Visual Studio 2010• Three agent types: Build, Test and Lab• Manual installation and configuration– Visual Studio 2012• Single agent (Test)• Automatic or manual installation• Standard Environments– “Physical” environments– Support the Build/Deploy/Test workflow• SCVMM 2012 and Clustered Host Support
    12. 12. Standard Environments with Visual Studio 2012• Environments composed of non-Hyper-V machines:– Physical machines– VMWare and other non-Microsoft virtualization technologies• Lab management features available without SCVMMand Hyper-V:– Automated Build– Automated Deploy– Automated Testing– Diagnostic Data Collectors• Easy to get started testing using Lab Management
    13. 13. Environment Type ComparisonCapabilitySCVMMEnvironmentsStandardEnvironmentsTestingRun manual tests Supported SupportedRun coded UI and other automated tests Supported SupportedFile rich bugs using diagnostic adapters Supported SupportedBuild deploymentAutomatic build-deploy-test workflow Supported SupportedEnvironment creation and managementAutomatically install test agent into machinesof the environmentSupported SupportedCreate environment from VM template Supported Not supportedStart/stop/snapshot environment Supported Not supportedConnect using Environment Viewer Supported SupportedRun multiple copies of an environment at thesame time using network isolationSupported Not supported
    14. 14. DEMONSTRATIONStandard Environments• Creation• Testing– Manual Testing– Automated Testing• AutomatedBuild/Deploy/Test
    15. 15. Agenda• Overview– Test Environments– “Lab Management” 2010• “Lab Management” 2012– Agents– Standard Environments• Conclusion
    16. 16. Conclusion• “Lab Management” provides power features:– Diagnostic Data Collection– Environment Viewer– Automated Testing– Build-Deploy-Test Workflow– Test Environment Snapshots (SCVMM)– Library (SCVMM)– Network Isolation (SCVMM)• Visual Studio 2012 = fewer headaches– Simplified Agent Configuration– SCVMM 2012 and Clustered Host Support– Standard Environments
    17. 17. Questions?
    18. 18. Want to know more...?
    19. 19. Imaginet’s Visual Studio 2012 Website!http://visualstudio.imaginet.comVisit Imaginet’s Visual Studio 2012 website, your one-stop hubfor all your Visual Studio 2012 needs!
    20. 20. More Webcasts on ALM / TFS / Visual Studio 2012• Quality Coding: What’s New with Visual Studio 2012• August 8 (1:00-2:30pm CT)• August 22 (1:00-2:30pm CT)• Getting Started With Coded UI testing: BuildingYour First Automated Test• June 27 (1:00-2:30pm CT)• September 5 (1:00-2:30pm CT)• September 19 (1:00-2:30pm CT)• Top Business Benefits of Application LifecycleManagement (ALM)• July 17 (1:00-2:00pm CT)• August 14(1:00-2:00pm CT)• Upgrading to TFS 2012: What You Need To Know!• July 11 (1:00-2:30pm CT)• July 25(1:00-2:30pm CT)
    21. 21. Need Help with YOUR Application Lifecycle Management?• Assess the current state of maturity of softwaredevelopment at your company• Develop a plan and roadmap for improving softwaredevelopment practices• At the completion of the ALM Workshop, your organizationwill have a better understanding of not only where you aretoday, but the steps you can take to improve your softwaredevelopment, management, configuration, and qualitypractices to meet your goals.Imaginet’s ALM Assessment& Envisioning WorkshopInterested? Just email us at info@imaginet.com.
    22. 22. Need Help with YOUR Application Lifecycle Management?• Includes planning and upgrading of your Team FoundationServer (TFS) to TFS 2012• Learn best practices for source control, buildmanagement, agile methodologies, and work managementprocesses using TFS 2012.• Support and training for your team• Includes a high-level ALM assessmentImaginet’s Visual Studio 2012TFS Upgrade 10-day QuickstartInterested? Just email us at info@imaginet.com.
    23. 23. For attendees of today’s webcast….* Not to be combined with any other offers; limited availability** Imaginet’s standard rate based on $250/hr USD(standard 5-day rate of $10,000 and standard 10-day rate of$20,000)SPECIAL SUMMER OFFERSOFFER #1: Imaginet’s 10-day TFS 2012 Upgrade Quickstart*• 2 week on-site Quickstart• Receive $7,500 off our standard rate when ordered by May 23, 2013 andscheduled in June, July, or August 2013**• Discount Code: TEST52313• Offer expires May 23, 2013OFFER #2: Imaginet’s 5-day ALM Assessment Workshop*• 1 week on-site ALM workshop• Receive $3,500 off our standard rate when ordered by June 30, 2013 andscheduled in June, July, or August 2013.**• Discount Code: ALMSPR13• Offer expires June 30, 2013To take advantage of these summer offers, just email info@imaginet.comand provide the appropriate discount code.
    24. 24. Email us at:ALM Planning & Implementation ServicesALM Planning• ALM Assessment & Envisioning Workshops(3 or 5 days)• VS & TFS Migration Planning Workshop (5days)• TFS Deployment Planning* (5 days)• Visual SourceSafe to TFS MigrationPlanning* (3 Days)• Visual Studio Quality Tools DeploymentPlanning* (5 days)Upgrade• TFS 2010 Adoption Quick Start (5 or 10days)• TFS 2012 Adoption Quick Start (5 or 10days)• TFS 2010 Upgrade Quick Start (10 days)• TFS 2012 Upgrade Quick Start (10 days)Remote Support• Remote Support for TFS & Visual StudioLab• Visual Studio Lab Management Quick Start(10 days)Testing• Manual Testing with Test Manager QuickStart (5 days)• Visual Studio Testing Tools Quick Start (10days)• Visual Studio Automated Testing Quick Start(5 days)• Visual Studio Load Testing Quick Start (5 or10 Days)Builds• Automated Build & Release ManagementQuick Start (5 days)• Automated Build Center of Excellence (CoE)Database• Visual Studio Database Tools Quick Start(10 days)Integrations• Team Foundation Server (TFS) & ProjectServer Integration Quick Start (10 days)• TFS & Quality Center Integration/MigrationQuick Start (10 days)
    25. 25. For questions or more information,please contact us at:info@imaginet.com or (972)607-4830Remember to add http://blog.imaginet.com to your favorite reader!
    26. 26. http://www.imaginet.com

    ×