400 likes | 528 Views
Extending Testing into the Lab . Richard Fennell Engineering Director, Black Marble. @ RichardFennell. http://blogs.blackmarble.co.uk/blogs/rfennell. rfennell@blackmarble.co.uk. What should our development cycle be?. How does Visual Studio 2010 Help?. Team Foundation Server (TFS).
E N D
Extending Testing into the Lab Richard FennellEngineering Director, Black Marble @RichardFennell http://blogs.blackmarble.co.uk/blogs/rfennell rfennell@blackmarble.co.uk
Team Foundation Server (TFS) • System Center Management Stack • Lab Management • Test Case management • Operations Manager • Virtualization Platform • Build management • Work Item Tracking • Hyper-V • Virtual Machine Manager • Source Control
How to Install TFS Lab Management • Install TFS 2010 • Install GDR patch to enable Lab Management (or Service pack 1) • Install a SCVMM Server • Install SCVMM Admin Console on TFS server • On SCVMM Server configure hosts and shares
How to Install TFS Lab Management • Install TFS 2010 • Install GDR patch to enable Lab Management (or Service pack 1) • Install a SCVMM Server • Install SCVMM Admin Console on TFS server • On SCVMM Server configure hosts and shares • Tell TFS the SCVMM server address
How to Install TFS Lab Management • Install TFS 2010 • Install GDR patch to enable Lab Management (or Service pack 1) • Install a SCVMM Server • Install SCVMM Admin Console on TFS server • On SCVMM Server configure hosts and shares • Tell TFS the SCVMM server address • On each TPC configure lab settings
How to Install TFS Lab Management • Install TFS 2010 • Install GDR patch to enable Lab Management (or Service pack 1) • Install a SCVMM Server • Install SCVMM Admin Console on TFS server • On SCVMM Server configure hosts and shares • Tell TFS the SCVMM server address • On each TPC configure lab settings • And now the work starts……..
Lab Management Concepts • Environment • VMs • Templates • Snapshots • Controllers and Agents
What controls what? TFS Team Project Collection Test Controller Environment Build Controller Each VM in Environment Developer Test Agent Build Agent Build Agent Lab Agent Build Agent
Lab Management Concepts • Environment • VMs • Templates • Snapshots • Controllers and Agents • Network Isolation
Lab Management Concepts • Environment • VMs • Templates • Snapshots • Controllers and Agents • Network Isolation • Host and Guest Connections
Process of End to End Testing Ordinary Build Performed Start Lab Build Build Report Stored Request the Lab Lab Build Requested Deploy the software Run automated Tests Triage Issues Run Manual Tests
Lab Management Demo
Summary • Delivering quality software is not just about programming • Automated builds bring repeatable quality to a project • Lab Management can extend this into both automated and manual testing with a fully integrated solution
Resources • Visual Studio 2010 http://www.microsoft.com/visualstudio/en-us/products/2010-editions • Rangers Lab Management Guide http://ralabman.codeplex.com/ • VHD Test Drive - Visual Studio 2010 Lab Management http://www.microsoft.com/downloads/en/details.aspx?FamilyID=592e874d-8fcd-4665-8e55-7da0d44b0dee&displaylang=en • Visual Studio Lab Management team bloghttp://blogs.msdn.com/b/lab_management/ • Techdays 2010 UK Video “Putting some Testing into your TFS Build Process”http://video.uk.msn.com/watch/video/putting-some-testing-into-your-tfs-build-process/15bkj6pcv
Richard Fennell Engineering Director, Black Marble Ltd. rfennell@blackmarble.co.uk http://blogs.blackmarble.co.uk/blogs/rfennell @RichardFennell
Lab Management Backup Demo Screenshots