SETEMBRO, 2010 | SÃO PAULO This slide deck is a combination of the slides that I used for parts 1 and 2 of this session. CÓDIGO DA SESSÃO: ##### Software Testing with Visual Studio 2010 Brian Keller Sr. Technical Evangelist Microsoft Corporation I work here… 4 …on this… 5 …and this. 6 http://bit.ly/ThisWeekC9 I blog here: http://blogs.msdn.com/briankel 7 I published here: http://www.tinyurl.com/ALM2010Book 8 Agenda Subtítulo de Agenda Understand Microsoft’s testing investments with Visual Studio 2010. Learn how to use Microsoft Test Manager to more effectively author, manage, and execute test cases. Understand how to eliminate “no repro” scenarios by utilizing actionable bugs, including rich test run information and IntelliTrace. 9 Part 1 of 2 Philosophy and Design Goals Microsoft Test Manager Test Plans Test Case Management Authoring Tests Running Tests Fast-Forward for Manual Testing Introduction to Coded UI Tests 10 Part 2 of 2 Advanced Coded UI Tests Debugging with IntelliTrace Lab Management Build-Deploy-Test Best Practices Getting Started 11 Visual Studio 2010 12 software bugs cost the US economy an estimated $59.5 billion every year on average professional coders make 100 to 150 errors in every 1000 lines of code they write last year, canceled projects cost firms $67 billion; overruns on the other projects racked up another $21billion 13 need something a little more concrete? 14 USS Yorktown, SmartShip crew member entered 0 in a data entry field, caused a “divide by 0” error that shut down propulsion dead in the water for 2hrs 45mins 15 Ariane 5 Flight 501 re-used code from ariane 4, but took a different flight path because of different booster design conversation from 64bit float to 16bit signed int caused overflow (exception handler was disabled for perf reasons) cost: > $370 million @ 1996 prices 16 F-22 Raptor deploying overseas to japan the first time crossed international dateline, computers crashed losing all navigation and communications systems clear weather allowed them to follow tankers back to hawaii 17 Raptor is likely the most advanced manned aircraft that will ever fly… need something a little more visual? 18 22 Climbing Conditioning Training 23 24 Release Test Development 25 Push Quality Upstream Release Test Development 26 Tester Segmentation Generalist Manual Testing Specialist Some scripting Strong scripting skills Strong coding Expert coding skills Develops Creates scripts Some automated 70% of testing happens majority of test tools to set up lab, coding skills testing herecreate data target procedures here Black Box Testing White Box Testing API Testing 27 What usually happens when a tester finds a bug? Graphic by Jeff Atwood (CodingHorror.com) Microsoft Test Manager 29 Credit: Michael Niggel How did I get here!? Actionable Bugs + IntelliTrace 33 Lab Management 34 Automation Platform Support Platform RTM RTM+ Notes IE7/8 – HTML/AJAX Windows Forms 2.0+ .NET Fx Controls fully supported, working on 3rd party support WPF 3.5+ .NET Fx Controls fully supported, working on 3rd party support SharePoint 2007 Windows Win32 TBD – Known issues & Workarounds MFC TBD – Known issues & Workarounds FF3 – HTML/AJAX Currently in Beta Dynamics (Ax) TBD – Release Plan Silverlight TBD – Release Plan Citrix/Terminal Services The client (MTLM or VS) need to be on remote machine Office Client Apps IE 6 Chrome/Opera/Safari Flash/Java SAP 35 Opportunity for partners to add this using the Extensibility support. Docs and samples around extensibility are here. Fully supported platform Partial solution. Further work required in future to complete Best efforts with known issues. Users can workaround these cases in the code. No major ongoing investment. Currently no support but on the roadmap for future releases Currently no support and none planned for now. Opportunity for partners to add this using the Extensibility support. Docs and samples around extensibility are here. For latest info on this, refer this post. © 2008 Microsoft Corporation. Todos os direitos reservados. Microsoft, Windows, Windows Vista e outros nomes de produtos são ou podem ser marcas registradas e/ou marcas comerciais nos EUA e/ou outros países. Este documento é meramente informativo e representa a visão atual da Microsoft Corporation a partir da data desta apresentação. Como a Microsoft deve atender a condições de mercado em constante alteração, este documento não deve ser interpretado como um compromisso por parte da Microsoft, e a Microsoft não pode garantir a precisão de qualquer informação fornecida após a data desta apresentação. A MICROSOFT NÃO DÁ QUALQUER GARANTIA, SEJA ELA EXPRESSA, IMPLÍCITA OU ESTATUTÁRIA, REFERENTE ÀS INFORMAÇÕES DESTA APRESENTAÇÃO.