Presentation is loading. Please wait.

Presentation is loading. Please wait.

12/9/2018 11:15 AM © 2007 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered.

Similar presentations


Presentation on theme: "12/9/2018 11:15 AM © 2007 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered."— Presentation transcript:

1 12/9/ :15 AM © 2007 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

2 Putting some Testing into your TFS Build Process
12/9/ :15 AM Putting some Testing into your TFS Build Process Richard Fennell, Black Marble MVP (Visual Studio ALM) @RichardFennell © 2007 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

3 Agenda What is the problem? What tools are we using?
12/9/ :15 AM Agenda What is the problem? What tools are we using? A walkthrough of going from “It works on my PC” to “Done” Automated Builds Gated Checkins Automated Tests Test Lab Deployment © 2007 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

4 What is the Problem?

5 Too common a scenario Dev writes code Dev makes sure it compiles
Dev checks in code Repeats for a while Dev lead does a build of all components App is installed in test environment Test tries to test it App doesn’t work Dev blames test

6 What we should aim for 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

7 What tools are we using?

8 How does Visual Studio 2010 Help?
Automate the process Build Server Lab Management Enforces the process Check-in Policy Gated Check-in Continuous Integrations Lets you know when you’re “Done” Test reports Project data reports

9 Introducing Lab Management
Team Foundation Server (TFS) Lab Management Test Case management Build management Work Item Tracking Source Control System Center Management Stack Operations Manager Virtual Machine Manager Virtualization Platform Hyper-V

10 Lab Management Automated Workflow
Compile Code Restore Snapshot Deploy App Take Snapshot Run Tests Triage

11 Our Sample Application
What we have… An WinForms application to calculate insurance premiums Some pre-prepared tests A fully configured VS Ultimate & TFS 2010 environment What we are going to add Automated builds Validated Checkins Automated unit tests Automated deployment & acceptance test verification

12 Our Demo System A Shuttle XPC Intel 2.4Gz Quad Core 8Gb Memory
500Gb Disk An Ethernet Hub A Laptop (for RDP)

13 LABDEMO - Window 2008 R2 (Quad Core 2
LABDEMO - Window 2008 R2 (Quad Core 2.4Ghz, 8 Gb Memory, 150Gb/350Gb disks) Domain Controller DHCP ( x) DNS (demo.com) System Center VMM Host Hyper V TFS Windows 2008R2 (1 Processor, 2Gb Memory, 127Gb Disk*) VS2010 Ultimate TFS 2010 RC (Basic Configuration) Test Controller Build Controller/Agent SCVMM Console TESTVM2 – Windows 2008R2 (1 Processor, 1 Gb, 127Gb Disk*) Web Server Test Agent Services Virtual LAN Physical LAN ( )

14 Automated Build Demo

15 Coded UI Tests Demo

16 Test Lab Deployment Demo 12/9/2018 11:15 AM
© 2007 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

17 End to End Reporting 12/9/2018 11:15 AM
© 2007 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

18 End to End Reporting 12/9/2018 11:15 AM
© 2007 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

19 Summary Delivering quality software is not just about programming
Tools must support the whole lifecycle Visual Studio 2010 and Lab Management can help provide you with fully integrated solution


Download ppt "12/9/2018 11:15 AM © 2007 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered."

Similar presentations


Ads by Google