Managing Test Labs Without the Headaches

26
Managing Test Environments (without the headaches!) Imaginet and ALM… Efficiently Build Better Software

description

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!

Transcript of Managing Test Labs Without the Headaches

Page 1: Managing Test Labs Without the Headaches

Managing Test Environments(without the headaches!)

Imaginet and ALM…Efficiently Build Better Software

Page 2: Managing Test Labs Without the Headaches

Agenda

• Overview– Test Environments– “Lab Management”

2010

• “Lab Management” 2012– Agents– Standard Environments

• Conclusion

Page 3: Managing Test Labs Without the Headaches

• 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

Page 4: Managing Test Labs Without the Headaches

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

Page 5: Managing Test Labs Without the Headaches

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

?

Page 6: Managing Test Labs Without the Headaches

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

Page 7: Managing Test Labs Without the Headaches

DEMONSTRATION

SCVMM Lab Environments

• Managing SCVMM Environments– Create– Deploy– Store

• Using the Library

Page 8: Managing Test Labs Without the Headaches

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 AgentEnables automated deployment to the client machine

– Lab AgentEnables Network Isolation

(More headaches?)

Page 9: Managing Test Labs Without the Headaches

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-

V H

ost

(s)

System Center Virtual Machine Manager

(SCVMM)

Vir

tual

Envir

onm

ent(

s)

Lib

rary

Serv

er(

s)

Microsoft Test Manager (Lab Center and Environment Viewer)

Page 10: Managing Test Labs Without the Headaches

Agenda

• Overview– Test Environments– “Lab Management”

2010

• “Lab Management” 2012– Agents– Standard Environments

• Conclusion

Page 11: Managing Test Labs Without the Headaches

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

Page 12: Managing Test Labs Without the Headaches

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

Page 13: Managing Test Labs Without the Headaches

Environment Type Comparison

Capability SCVMM Environments

Standard Environments

TestingRun 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

Page 14: Managing Test Labs Without the Headaches

DEMONSTRATION

Standard Environments

• Creation

• Testing– Manual Testing– Automated Testing

• Automated Build/Deploy/Test

Page 15: Managing Test Labs Without the Headaches

Agenda

• Overview– Test Environments– “Lab Management”

2010

• “Lab Management” 2012– Agents– Standard Environments

• Conclusion

Page 16: Managing Test Labs Without the Headaches

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

Page 17: Managing Test Labs Without the Headaches

Questions?

Page 18: Managing Test Labs Without the Headaches

Want to know more...?

Page 19: Managing Test Labs Without the Headaches

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!

Page 20: Managing Test Labs Without the Headaches

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)

Page 21: Managing Test Labs Without the Headaches

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 [email protected].

Page 22: Managing Test Labs Without the Headaches

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 2012TFS Upgrade 10-day Quickstart

Interested? Just email us at [email protected].

Page 23: Managing Test Labs Without the Headaches

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 [email protected] and provide the appropriate discount code.

Page 24: Managing Test Labs Without the Headaches

Email us at:[email protected]

ALM Planning & Implementation ServicesALM 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)

Page 25: Managing Test Labs Without the Headaches

For questions or more information,please contact us at:

[email protected] or (972)607-4830

Remember to add http://blog.imaginet.com to your favorite reader!

Page 26: Managing Test Labs Without the Headaches

http://www.imaginet.com