Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

Managing Test Labs Without the Headaches


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
  • Be the first to comment

  • Be the first to like this

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 New Blog Keeps You In The Knowhttp://blog.imaginet.comStay up to speed on the latest news from Imaginet, Microsoft,Visual Studio, and the entire software development world.
  20. 20. More Webcasts on ALM / TFS / Visual Studio 2012• Quality Coding: What’s New with Visual Studio 2012• April 18 (1:00-2:30pm CT)• May 9 (1:00-2:30pm CT)• May 23 (1:00-2:30pm CT)• Getting Started With Coded UI testing: Building Your FirstAutomated Test• April 11 (1:00-2:30pm CT)• April 25 (1:00-2:30pm CT)• June 13 (1:00-2:30pm CT)• June 27 (1:00-2:30pm CT)• The How, What, and Why of Performance Testing YourApplications• May 2 (1:00-2:30pm CT)• Top Business Benefits of Application Lifecycle Management(ALM)• June 3 (1:00-2:00pm CT)• Managing Test Labs Without the Headaches• June 6 (1:00-2:30pm CT)• June 20 (1:00-2:30pm CT)
  21. 21. Free Services from Imaginet & MicrosoftThere are a number of different Microsoft Programs that youmight be able to leverage to get some free services fromImaginet:• Deployment Planning Services (DPS) – You can trade in yourMicrosoft Software Assurance credits to receive some freeTFS/ALM Deployment Planning Services days with Imaginet• Partner Services Credit (PSC) – Have you or are you about tospend money with Microsoft on Visual Studio 2012 products? Ifso, Microsoft may kick in some funding to help you successfullyadopt.• Virtual Technical Specialist (VTS) hours –You may be eligibleto receive some free remote consulting/training hours withImaginet through the Microsoft Virtual Technical Specialistprogram.For more information, email
  22. 22. Need Help with YOUR Automated Testing?• Learn best practices for test selection, extension, databinding, maintenance, frameworks, community extensions(such as the CUITe and the UI Map Toolbox), and otherreal-world scenarios.• Includes automated test development & execution for YOURapplication• Support and training for your team• Includes a high-level ALM assessmentImaginet’s Visual Studio 2012Automated Testing 5-day QuickstartInterested? Just email us at
  23. 23. 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)
  24. 24. For questions or more information,please contact us or (972)607-4830Remember to add to your favorite reader!
  25. 25.