Similar to Deep Dive Modern Apps Lifecycle with Visual Studio 2012: Bring it all together: Build, Deploy and Test with Visual Studio Lab Management (20)
12. 3 top reasons why Bugs are
difficult to reproduce (and fix)?
13.
14.
15.
16. Cost of Fixing Bugs
Release
Cost of Bugs
Test
Development
Software Phase
17. 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
18. Lab Management Demo Environment
VS 2012 Ultimate Active Directory Virtual Machines
(includes MTM) SCVMM 2012 SP1
VMM Library
TFS 2012 QU1
Client Physical Server
(Hyper-V Host)
TestVMs
22. 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
23. 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
24. “A journey of a thousand miles
begins with a single step”
[quote from Lao-tzu]
25.
26. 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
27.
28. Related ALM Session @ TechDays
Building & Testing a Windows 8 App, making use of
Team Foundation Service [March 7, 16h15-17h30, Room 6]