Upload
microsoft-developer-network-msdn-belgium-and-luxembourg
View
810
Download
3
Embed Size (px)
DESCRIPTION
More info on Techdays.be
Citation preview
Build, Deploy and Test withVisual Studio Lab Management 2012Pieter Gheysens
Pieter GheysensVisual Studio ALM MVPUser Group Lead VISUG@pietergheysens
www.sparkles.be www.visug.be
VISUG Day – April 17, 2013
Full details at www.visugday.be
Agenda
ALM withVisual Studio 2012
ContinuousValueDelivery
QualityEnablement
Goals of Visual StudioLab Management
Build Deploy Test ** DEMOS **
ALM with Visual Studio 2012
ULTIMATE
Team Explorer Everywhere
Extensibility
SharePoint
Project Server
System Center
Premium
ProfessionalTest
Professional
TEAMFOUNDATIO
NSERVER
Lab Management
Office
Web Access
Windows Azure
Version Control Test Case Management
RequirementsManagement
Build Automation
ProjectManagement
Reporting
ALM with Visual Studio 2012
ULTIMATE
Team Explorer Everywhere
Extensibility
SharePoint
Project Server
System Center
Premium
ProfessionalTest
Professional
TEAMFOUNDATIO
NSERVER
Lab Management
Office
Web Access
Windows Azure
Version Control Test Case Management
RequirementsManagement
Build Automation
ProjectManagement
Reporting
Continuous Value Delivery
QUALITY ENABLEMENTDEPLOYMENT READINESS
QualityEnableme
nt
Deployment Readiness
Quality of service MTTRCycle times
Important Metrics for Success
Collaboration Dev-Test-Ops?
3 top reasons why Bugs are difficult to reproduce (and fix)?
Documentation
Visibility
Environment Differences
Cost of Fixing Bugs
Development
Test
Release
Software Phase
Cost of Bugs
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
NO MORE NO REPRO!
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
Build Controller+ Test Controller
TestAgents
Virtual EnvironmentsVisual StudioLab Management 2012
Lab Management Workflow
BUILD
restoreenvironme
nt
DEPLOYenvironme
ntsnapshot
TEST
Demo Build-Deploy-TestVisual StudioLab Management 2012
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
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]
Questions&Answers
Resources
• Visual Studio ALM + TFS Bloghttp://blogs.msdn.com/b/visualstudioalm/
• ALM Rangers – Visual Studio Lab Management Guidehttp://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 Managementhttp://msdn.microsoft.com/en-us/library/vstudio/dd936084.aspx
Related ALM Session @ TechDaysBuilding & Testing a Windows 8 App, making use ofTeam Foundation Service [March 7, 16h15-17h30, Room 6]
Contact
[email protected]@pietergheysenswww.sparkles.bewww.intoalm.net