Developer Day Software Testen mit Visual Studio Lab Management Nico Orschel Marc Müller MVP VS ALM, AIT Principal Consultant, 4tecture GmbH [email protected] [email protected].
Download ReportTranscript Developer Day Software Testen mit Visual Studio Lab Management Nico Orschel Marc Müller MVP VS ALM, AIT Principal Consultant, 4tecture GmbH [email protected] [email protected].
Developer Day Software Testen mit Visual Studio Lab Management Nico Orschel Marc Müller MVP VS ALM, AIT Principal Consultant, 4tecture GmbH [email protected] [email protected] Introduction Build, Deploy and Test Infrastructure Lab Management for Devs Summary / Q&A 5’ 20’ 10’ 15’ 10’ Agenda Chapter 1/5 Introduction You can’t fix what you can’t reproduce Testers find bugs but may be unable to document them in sufficient detail so that they can be acted upon by developers. . “If it can’t happen twice, it didn’t happen once” - James (my mechanic) Developers may not have access to the only environment in which a bug can be isolated. Allow testers to create bugs that contain “actionable” information. Allow developers the ability to “Make it happen the second time” Give developers access to the test environment at the point the bug was encountered. Test Case (for repro steps) Screenshot Video Capture System Info Debug Log Test Environment Log Action Recording Pre-Prod environment UAT Web Server Web Server DB Cluster QA environment Web Server Release Manager Dev environment DB Server Web + DB Server Build environment Tester Web Server DB Server Devs Chapter 2/5 Build, Deploy, Test build applicati on run tests deploy applica tion build app. restore snapsh ot run tests take env. snapsh ot restore env. deploy app. Revert virtual environment to ‘clean’ baseline in minutes than hours Predictable (Web) deployment (using MSDeploy) Post-deployment snapshot facilitates exploratory testing Chapter 3/5 Infrastructure Available since Visual Studio 2010 Integrates with Hyper-V Allows us to: Team Foundation Server (TFS) Lab Management Test Case management Build management Work Item Tracking Source Control System Center Virtual Machine Manager Hyper-V Hosts Library Shares Host1 LS1 Host2 LS2 Hostn LSn 17 Team Foundation Server System Center Virtual Machine Manager Lab Management Test Case Management Test Controller Hyper-V host Build Management VM1 Source Control Lab agent Work Item Tracking Client: Test Manager Client: Visual Studio Test Agent Build Controller Build agent for Compilation Build agent Library Share Stored Virtual Machine Stored Virtual Stored Virtual Machine 2 Stored Virtual Machine 2 Environment Team Foundation Server System Center Virtual Machine Manager Lab Management Test Case Management Test Controller Hyper-V host Build Management VM1 Source Control Work Item Tracking Client: Test Manager Client: Visual Studio Test Agent Build Controller Build agent for Compilation Library Share Stored Virtual Machine Stored Virtual Stored Virtual Machine 2 Stored Virtual Machine 2 Environment Chapter 4/5 VS Lab for Devs Chapter 5/5 Summary Microsoft® Visual Studio® 2012 Premium OR Microsoft® Visual Studio® Test Professional 2012 No more waiting for build setup • Revert to a ‘known’ state in minutes • Predictable multi-machine application deployment • Know build quality before investing in further testing No more wasteful testing • Prioritize test cases based on code changes No more no repro • Environment snapshots, Intellitrace and other collectors capture exact state of problem Allow Testers to capture bugs the first time they happen Document the hell out of a bug so that even a Developer can fix it Use Rich Bug data (Intellitrace, Video, Action Logs, Snapshot Environments) to find and fix the root cause Create tests that prove the bug is gone Contact Nico Orschel [email protected] AIT GmbH & Co. KG http://www.aitgmbh.de http://www.tfsblog.de http://www.xing.com/profile/Nico_Orschel http://de.linkedin.com/pub/nico-orschel/25/484/602 Ihre Software effizienter entwickelt © AIT Co. KG AIT GmbH & Co. KG, Leitzstr. 45,GmbH 70469 & Stuttgart Contact Marc Müller [email protected] 4tecture GmbH http://www.4tecture.ch https://www.xing.com/profile/Marc_Mueller58 http://www.linkedin.com/pub/marc-m%C3%BCller/20/3ba/b80 Ihre Software effizienter entwickelt © AIT Co. KG AIT GmbH & Co. KG, Leitzstr. 45,GmbH 70469 & Stuttgart