1 / 30

Virtualisation of the Test Environment

Virtualisation of the Test Environment. Richard Fennell Engineering Director, Black Marble. @ RichardFennell. http://blogs.blackmarble.co.uk/blogs/rfennell. rfennell@blackmarble.co.uk. Agenda. The development cycle Virtualisation with Lab Management Load Testing with Load Test Agent.

dolf
Download Presentation

Virtualisation of the Test Environment

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Virtualisation of the Test Environment Richard FennellEngineering Director, Black Marble @RichardFennell http://blogs.blackmarble.co.uk/blogs/rfennell rfennell@blackmarble.co.uk

  2. Agenda • The development cycle • Virtualisation with Lab Management • Load Testing with Load Test Agent

  3. Lab Management

  4. What is our development cycle?

  5. How does Visual Studio 2010 Help?

  6. 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

  7. 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

  8. 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

  9. 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

  10. 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……..

  11. Lab Management Concepts • Environment • VMs • Templates • Snapshots • Controllers and Agents

  12. 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

  13. Lab Management Concepts • Environment • VMs • Templates • Snapshots • Controllers and Agents • Network Isolation

  14. Lab Management Concepts • Environment • VMs • Templates • Snapshots • Controllers and Agents • Network Isolation • Host and Guest Connections

  15. 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

  16. Demo Lab Management

  17. Load Testing

  18. Load Testing • Microsoft has provided load testing since Visual Studio 2005 • Enables stress testing of application, building on the test you have already written • Since May 2011, the Load Test Agent has become free as part of the Load Testing Feature Pack (you do need VS 2010 Ultimate too)

  19. Load Test Architecture A Local PC Visual Studio 2010 Ultimate Test Controller (Manages Test Agents) Test Agent (Runs Tests)

  20. Load Test Architecture A Developers PC Test Controller PC Test Controller (Manages Test Agents) Visual Studio 2010 Ultimate Another PC Another PC Test Agent (Runs Tests) Test Agent (Runs Tests) Another PC Test Agent (Runs Tests)

  21. Demo LoAD Testing

  22. 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 • Load testing is now available to all, building on the test you have already written

  23. Resources • Visual Studio 2010 http://www.microsoft.com/visualstudio/en-us/products/2010-editions • 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

  24. Questions

  25. Richard Fennell Engineering Director, Black Marble Ltd. rfennell@blackmarble.co.uk http://blogs.blackmarble.co.uk/blogs/rfennell @RichardFennell

More Related