190 likes | 330 Views
Putting some Testing into your TFS Build Process. Richard Fennell, Black Marble MVP (Visual Studio ALM) @ RichardFennell http://blogs.blackmarble.co.uk/blogs/rfennell richard@blackmarble.co.uk. Agenda. What is the problem? What tools are we using?
E N D
Putting some Testing into your TFS Build Process Richard Fennell, Black MarbleMVP (Visual Studio ALM) @RichardFennell http://blogs.blackmarble.co.uk/blogs/rfennell richard@blackmarble.co.uk
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
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
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
Our Demo System A Shuttle XPC • Intel 2.4Gz Quad Core • 8Gb Memory • 500Gb Disk • An Ethernet Hub • A Laptop (for RDP)
LABDEMO - Window 2008 R2(Quad Core 2.4Ghz, 8 Gb Memory, 150Gb/350Gb disks) Services • Hyper V • Domain Controller • TFS2010 - 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 • DHCP (10.0.0.x) • DNS (demo.com) • System Center VMM Host Virtual LAN Physical LAN (10.0.0.1)
Automated Build Demo
Coded UI Tests Demo
Test Lab Deployment Demo
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