Presentation is loading. Please wait.

Presentation is loading. Please wait.

Virtualisation of the Test Environment

Similar presentations


Presentation on theme: "Virtualisation of the Test Environment"— Presentation transcript:

1 Virtualisation of the Test Environment
Richard Fennell Engineering Director, Black Marble @RichardFennell

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

3 Lab Management

4 What is our development cycle?
Developer writes code Compile locally Run unit tests locally Check-in Central Automated CI Build inc. running of unit tests Automated Deploy to Test Automated Integration tests UAT/Human Test Log Bugs/Change Requests

5 How does Visual Studio 2010 Help?

6 Team Foundation Server (TFS)
Lab Management System Center Management Stack 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 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

9 How to Install TFS Lab Management
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

10

11 How to Install TFS Lab Management
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

12

13 How to Install TFS Lab Management
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……..

14 Lab Management Concepts
Environment VMs Templates Snapshots Controllers and Agents

15 Team Project Collection
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 Environment Capability Lab Agent Required? Test Agent Required? Build Agent Required? Testing X Deployment workflow Network Isolation Build Agent

16 Lab Management Concepts
Environment VMs Templates Snapshots Controllers and Agents Network Isolation

17 Look at blog post http://msmvps
Look at blog post for a discussion on this

18 Lab Management Concepts
Environment VMs Templates Snapshots Controllers and Agents Network Isolation Host and Guest Connections

19 Process of End to End Testing
Ordinary Build Performed Start Lab Build Build Report Stored Deploy the software Lab Build Requested Request the Lab Run automated Tests Triage Issues Run Manual Tests

20 Demo Lab Management

21

22

23

24

25

26

27

28

29

30

31

32

33

34

35

36 Load Testing

37 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)

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

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

40 Demo LoAD Testing

41

42 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

43 Resources Visual Studio VHD Test Drive - Visual Studio 2010 Lab Management Visual Studio Lab Management team blog Techdays 2010 UK Video “Putting some Testing into your TFS Build Process”

44 Questions

45 Engineering Director, Black Marble Ltd.
Richard Fennell Engineering Director, Black Marble Ltd. @RichardFennell

46


Download ppt "Virtualisation of the Test Environment"

Similar presentations


Ads by Google