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!
3. • Group of machines configured to support testing
• Generally…
– Shared resources
– IT and/or Dev Managed
• Configuration
• Reconfiguration
• Backup/Restore
• Deployment
– Ongoing maintenance efforts
Test Environment
What is a “Test Environment”?
Web
Server
Database
Server
App
Server
4. Environment #2 Environment #3Environment #1
Virtual and Physical Test Environments
Virtual Server (Hyper-V, VMWare, …)
Environment #2 Environment #3
VM #1
VM #2
VM #3
VM #4
VM #5
VM #6
5. Test Environments with Visual Studio 2010
• Three options…
– As we’ve always done it…
(Headache!)
– Manually using virtual machines
(Better…)
– With “Lab Management” features
in Microsoft Test Manager (MTM)
Environment #1
Virtual Server
Environment #2
VM #1
VM #2
VM #3
?
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
8. Agents with Visual Studio 2010 Lab Management
• Installed on the “guest”
lab machines
• Three 2010 agent types:
– Test Agent
Enables automated testing on the
client machine
– Build Agent
Enables automated deployment to the
client machine
– Lab Agent
Enables Network Isolation
(More headaches?)
9. How does it work?
Team Foundation Server
Lab Management
Test Management
Build Management
Work Item Tracking
Version Control
Reporting
Test
Controller(s)
Build
Controller(s)
Standard
Environment(s)
Hyper-VHost(s)
System Center Virtual
Machine Manager
(SCVMM)
Virtual
Environment(s)
LibraryServer(s)
Microsoft Test Manager (Lab Center and Environment Viewer)
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. 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 SCVMM
and Hyper-V:
– Automated Build
– Automated Deploy
– Automated Testing
– Diagnostic Data Collectors
• Easy to get started testing using Lab Management
13. Environment Type Comparison
Capability
SCVMM
Environments
Standard
Environments
Testing
Run manual tests Supported Supported
Run coded UI and other automated tests Supported Supported
File rich bugs using diagnostic adapters Supported Supported
Build deployment
Automatic build-deploy-test workflow Supported Supported
Environment creation and management
Automatically install test agent into machines
of the environment
Supported Supported
Create environment from VM template Supported Not supported
Start/stop/snapshot environment Supported Not supported
Connect using Environment Viewer Supported Supported
Run multiple copies of an environment at the
same time using network isolation
Supported Not supported
19. Imaginet’s New Blog Keeps You In The Know
http://blog.imaginet.com
Stay up to speed on the latest news from Imaginet, Microsoft,
Visual Studio, and the entire software development world.
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 First
Automated 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 Your
Applications
• 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. Free Services from Imaginet & Microsoft
There are a number of different Microsoft Programs that you
might be able to leverage to get some free services from
Imaginet:
• Deployment Planning Services (DPS) – You can trade in your
Microsoft Software Assurance credits to receive some free
TFS/ALM Deployment Planning Services days with Imaginet
• Partner Services Credit (PSC) – Have you or are you about to
spend money with Microsoft on Visual Studio 2012 products? If
so, Microsoft may kick in some funding to help you successfully
adopt.
• Virtual Technical Specialist (VTS) hours –You may be eligible
to receive some free remote consulting/training hours with
Imaginet through the Microsoft Virtual Technical Specialist
program.
For more information, email bmadison@imaginet.com.
22. Need Help with YOUR Automated Testing?
• Learn best practices for test selection, extension, data
binding, maintenance, frameworks, community extensions
(such as the CUITe and the UI Map Toolbox), and other
real-world scenarios.
• Includes automated test development & execution for YOUR
application
• Support and training for your team
• Includes a high-level ALM assessment
Imaginet’s Visual Studio 2012
Automated Testing 5-day Quickstart
Interested? Just email us at info@imaginet.com.
23. Email us at:
ALM Planning & Implementation Services
ALM Planning
• ALM Assessment & Envisioning Workshops
(3 or 5 days)
• VS & TFS Migration Planning Workshop (5
days)
• TFS Deployment Planning* (5 days)
• Visual SourceSafe to TFS Migration
Planning* (3 Days)
• Visual Studio Quality Tools Deployment
Planning* (5 days)
Upgrade
• TFS 2010 Adoption Quick Start (5 or 10
days)
• TFS 2012 Adoption Quick Start (5 or 10
days)
• TFS 2010 Upgrade Quick Start (10 days)
• TFS 2012 Upgrade Quick Start (10 days)
Remote Support
• Remote Support for TFS & Visual Studio
Lab
• Visual Studio Lab Management Quick Start
(10 days)
Testing
• Manual Testing with Test Manager Quick
Start (5 days)
• Visual Studio Testing Tools Quick Start (10
days)
• Visual Studio Automated Testing Quick Start
(5 days)
• Visual Studio Load Testing Quick Start (5 or
10 Days)
Builds
• Automated Build & Release Management
Quick Start (5 days)
• Automated Build Center of Excellence (CoE)
Database
• Visual Studio Database Tools Quick Start
(10 days)
Integrations
• Team Foundation Server (TFS) & Project
Server Integration Quick Start (10 days)
• TFS & Quality Center Integration/Migration
Quick Start (10 days)
24. For questions or more information,
please contact us at:
info@imaginet.com or (972)607-4830
Remember to add http://blog.imaginet.com to your favorite reader!