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 Visual Studio 2012 Website!
http://visualstudio.imaginet.com
Visit Imaginet’s Visual Studio 2012 website, your one-stop hub
for all your Visual Studio 2012 needs!
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: Building
Your 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 Lifecycle
Management (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. Need Help with YOUR Application Lifecycle Management?
• Assess the current state of maturity of software
development at your company
• Develop a plan and roadmap for improving software
development practices
• At the completion of the ALM Workshop, your organization
will have a better understanding of not only where you are
today, but the steps you can take to improve your software
development, management, configuration, and quality
practices to meet your goals.
Imaginet’s ALM Assessment
& Envisioning Workshop
Interested? Just email us at info@imaginet.com.
22. Need Help with YOUR Application Lifecycle Management?
• Includes planning and upgrading of your Team Foundation
Server (TFS) to TFS 2012
• Learn best practices for source control, build
management, agile methodologies, and work management
processes using TFS 2012.
• Support and training for your team
• Includes a high-level ALM assessment
Imaginet’s Visual Studio 2012
TFS Upgrade 10-day Quickstart
Interested? Just email us at info@imaginet.com.
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 OFFERS
OFFER #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 and
scheduled in June, July, or August 2013**
• Discount Code: TEST52313
• Offer expires May 23, 2013
OFFER #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 and
scheduled in June, July, or August 2013.**
• Discount Code: ALMSPR13
• Offer expires June 30, 2013
To take advantage of these summer offers, just email info@imaginet.com
and provide the appropriate discount code.
24. 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)
25. 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!
"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…
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…