Top Banner
3/10/2013 1 Build, Deploy and Test with Visual Studio Lab Management 2012 Pieter Gheysens www.sparkles.be www.visug.be
15

Build, Deploy and Test with Visual Studio Lab Management 2012

Feb 03, 2022

Download

Documents

dariahiddleston
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Build, Deploy and Test with Visual Studio Lab Management 2012

3/10/2013

1

Build, Deploy and Test withVisual Studio Lab Management 2012

Pieter Gheysens

www.sparkles.be www.visug.be

Page 2: Build, Deploy and Test with Visual Studio Lab Management 2012

3/10/2013

2

VISUG Day – April 17, 2013

Full details at www.visugday.be

Agenda

Page 3: Build, Deploy and Test with Visual Studio Lab Management 2012

3/10/2013

3

ALM with Visual Studio 2012

TEAMFOUNDATION

SERVER

Office

ALM with Visual Studio 2012

Test

Professional

TEAMFOUNDATION

SERVER Lab Management

Office

Page 4: Build, Deploy and Test with Visual Studio Lab Management 2012

3/10/2013

4

Continuous Value Delivery

QUALITY ENABLEMENTDEPLOYMENT READINESS

QualityEnablement

Page 5: Build, Deploy and Test with Visual Studio Lab Management 2012

3/10/2013

5

Deployment Readiness

Quality of service MTTRCycle times

Important Metrics for Success

Page 6: Build, Deploy and Test with Visual Studio Lab Management 2012

3/10/2013

6

Collaboration Dev-Test-Ops?

3 top reasons why Bugs are difficult to reproduce (and fix)?

Page 7: Build, Deploy and Test with Visual Studio Lab Management 2012

3/10/2013

7

Page 8: Build, Deploy and Test with Visual Studio Lab Management 2012

3/10/2013

8

Cost of Fixing Bugs

Development

Test

Release

Software Phase

Co

st of B

ugs

Page 9: Build, Deploy and Test with Visual Studio Lab Management 2012

3/10/2013

9

Goals of Lab Management

Improve productivity and quality of software development projects through better cross-functional collaboration features

Reduce costs associated with physical test environments

Improve speed of deployments

Integrate automated tests in build-deploy cycle

Provide rich actionable information

Lab Management Demo Environment

Client Physical Server

(Hyper-V Host)

TFS 2012 QU1

Active Directory

SCVMM 2012 SP1

VMM Library

VS 2012 Ultimate

(includes MTM)

Virtual Machines

TestVMs

Page 10: Build, Deploy and Test with Visual Studio Lab Management 2012

3/10/2013

10

Lab Management Workflow

BUILD

restore

environment

DEPLOYenvironment

snapshot

TEST

Page 11: Build, Deploy and Test with Visual Studio Lab Management 2012

3/10/2013

11

Demo Summary

Regular build compiles solution and runs basic unit tests

[Lab build reverts to clean and isolated test environement]

Lab build uses output (.dacpac file) to create new SQL database

Lab build uses output (MSDeploy package) to deploy website

[Lab build creates a post-deployment snapshot]

Lab build runs automated Coded UI Tests for multiple browsers

Page 12: Build, Deploy and Test with Visual Studio Lab Management 2012

3/10/2013

12

Takeaways

• Investigate in creating good templates or VMs in the Library

• Find right balance between simulating a full “Production environment” and a lightweight deployment environment

• Finetune “Test Settings” for automated Coded UI Tests

• Focus on critical path testing

• Build – Measure – Learn

“A journey of a thousand miles begins with a single step”[quote from Lao-tzu]

Page 13: Build, Deploy and Test with Visual Studio Lab Management 2012

3/10/2013

13

Resources

• Visual Studio ALM + TFS Blog

http://blogs.msdn.com/b/visualstudioalm/

• ALM Rangers – Visual Studio Lab Management Guide

http://vsarlabman.codeplex.com/

• Planning for Visual Studio Lab Management? Dos and Donts!

http://msdn.microsoft.com/en-us/library/vstudio/ff756575.aspx

• Configuring and Administering Lab Management

http://msdn.microsoft.com/en-us/library/vstudio/dd936084.aspx

Page 14: Build, Deploy and Test with Visual Studio Lab Management 2012

3/10/2013

14

Related ALM Session @ TechDays

Building & Testing a Windows 8 App, making use of

Team Foundation Service [March 7, 16h15-17h30, Room 6]

Page 15: Build, Deploy and Test with Visual Studio Lab Management 2012

3/10/2013

15

Contact

[email protected]

@pietergheysens

www.sparkles.be

www.intoalm.net