SlideShare a Scribd company logo
No more “No Repro”Anna RussoNotion Solutions  http://www.notionsolutions.comarusso@notionsolutions.comBlog: http://a7russo.spaces.live.com
Visual Studio 2010
Microsoft Test ManagerTFSUML ModelingTFSManual TestingLayer DiagramLoad TestingWeb TestingTest Case ManagementIntelliTrace™Architecture ExplorerLogical Class DesignerCloud DevelopmentOffice DevelopmentWindows DevelopmentNew WPF EditorCustomizable IDEMulti-core DevelopmentSilverlight ToolsWeb DevelopmentSharePoint DevelopmentGenerate from UsageStatic Code AnalysisDatabase DeploymentCode MetricsDatabase Unit TestingTest Data GenerationTest Impact AnalysisUI Test AutomationCode CoveragePerformance ProfilingDatabase Change MgmtTFSTest Record & Playback
TFSTest and Lab ManagerTest Case ManagementTest Record & PlaybackManual TestingLab MgmtConfig.Checkpoint EnvironmentEnvironment from TemplateVirtual Env. Setup/Tear DownReportingTeam PortalTest Case ManagementBranch VisualizationVersion ControlBuild AutomationGated Check-inAgile Planning ToolsTeam ExplorerTeam AgentsTFS
Highly integratedProductive      Extensible     Low administrationAgileCustomizable      Lightweight      Patterns and practices       FlexibleLayering Best PracticesProcess and tools support individuals, teams and organizations frictionlessly and transparentlyOvercome ComplexityQuality MindsetCulture of InnovationCollaborationTransparencyIntegrationClarityAlignmentEfficiency
Goals for 2010 Release - QualityAlign QA with the LifecycleCreate tighter Dev/Test interactionEnable highly leveraged  QA teams
Key Test Capabilities in VS2010 Innovative Test Case Management
Easy provisioning of multi-tier test environments
File rich & actionable bug during manual testing
Perform Exploratory testing
Create Coded UI Test
Automated build-deploy-test workflow7
Automated Build
Powerful Build EngineBuild ExplorerCentralized build informationBuild Report to display code and work itemsExecutes TestsUnit testAutomated Coded UI testWeb testsLoad testsThird party tool testsDeployPhysical machinesVirtual machinesVirtual Lab machines- Restores to Clean Baseline
Test Lab Management
Lab ManagementNEW!* Support for ESX will not be available in  TFS 2010 but is on the TFS roadmap
Lab Management  (1 Server, 1Host, 5 VMs)Physical HostSC-VMM  AgentClientVirtual GuestBuild/Test Agents  Virtual GuestBuild/Test Agents   ControllersVirtual GuestBuild/Test Agents   Virtual GuestBuild/Test Agents  Virtual GuestBuild/Test Agents  ServerTeam Foundation ServerSC-VMM Server (supports HyperV. VmWare)TRTCMLab ManagementReportingBuildWITProxyVC
Test Controllers and Agents
Microsoft Confidential14Environment (collection of VMs) created
Microsoft Confidential15Manage snapshots for environmentAccess environment using Lab Environment Viewer
Manual Testing Tools
Testing Done RightTest and Lab ManagerManual Testing for the 21st centuryPlan, Manage and Execute tests from one placeVirtual Test EnvironmentsReduce the overhead of maintaining physical test environmentsShare Virtual environments between team membersWeb and Load TestingKnow your code is ready for the big timeMeasure performance under real time load conditions and ensure that your applications are ready for release
Testing ToolsMTM Manual Testing ToolsTest Plan ManagementTest Case ManagementShared Steps ManagementTest Configuration ManagementTest Fast ForwardingTest CollectorsTest Lab ManagementVisual StudioAutomated Testing ToolsAutomated Coded UI TestingWeb TestingLoad TestingGeneric TestsDeveloper Unit TestsDatabase Unit Tests
The ProblemDevelopment and test have built a wall:Development work happens on one side of the wall.Testing happens on the other. Builds and test results are passed back and forth, but not in a collaborative fashion.
Development PerspectiveWorks on my machine!What build is being tested?How do I repro this?I already fixed this bug!The testers are clueless twits that don’t even know what good software is!
Test PerspectiveThis is still broken? They said they fixed it!What is supposedly fixed in this new build?Is the new build deployed to our QA environment?The developers are clueless twits that don’t even know what good software is!
Rich BugsNEW!Repro StepsScreenshotVideo CaptureSystem InfoDebug LogTest EnvironmentEvent LogAction Recording
DemoTest Case Management/Filing Bugs
Microsoft Confidential24Test Case is first class work item in TFSDetailed steps along with expected results
Microsoft Confidential25Data drive a test caseSpecify data in parameter table
Microsoft Confidential26Shared Steps allows for common steps to be reused across test cases
Microsoft Confidential27Add comment
Microsoft Confidential28Dev clicks on lvr link & selects connect to snapshot of the environment
Developer Quality Tools
Create code, Don’t debug itDependency DiagramsUnderstand code dependencies visually and understand where to make changesGated Check-InStop build breaks before they happenCode Analysis and Code MetricsHelp you find and fix potential problems before you make them
Spend Less time DebuggingIntelliTrace™Make “No-Repro” History with Actionable BugsTest Impact Analysis and Code CoverageRun the Right Tests and only the Right TestsAnd know you have really tested you codeCoded UI TestsAutomated regression tests let you find bugs earlier
IntelliTrace
Test Impact AnalysisIdentify tests that need to be run as the result of a code change
Coded UI TestingEnables verification of UI functionality.Record test actions and VS will generate the resulting code.Assertions can be added to verify functionality.Like all VS tests, results can be stored in TFS.
DemoIntellitrace/Coded UI Test
Coded UI Platform Support
Reporting

More Related Content

No More No Repro

  • 1. No more “No Repro”Anna RussoNotion Solutions http://www.notionsolutions.comarusso@notionsolutions.comBlog: http://a7russo.spaces.live.com
  • 3. Microsoft Test ManagerTFSUML ModelingTFSManual TestingLayer DiagramLoad TestingWeb TestingTest Case ManagementIntelliTrace™Architecture ExplorerLogical Class DesignerCloud DevelopmentOffice DevelopmentWindows DevelopmentNew WPF EditorCustomizable IDEMulti-core DevelopmentSilverlight ToolsWeb DevelopmentSharePoint DevelopmentGenerate from UsageStatic Code AnalysisDatabase DeploymentCode MetricsDatabase Unit TestingTest Data GenerationTest Impact AnalysisUI Test AutomationCode CoveragePerformance ProfilingDatabase Change MgmtTFSTest Record & Playback
  • 4. TFSTest and Lab ManagerTest Case ManagementTest Record & PlaybackManual TestingLab MgmtConfig.Checkpoint EnvironmentEnvironment from TemplateVirtual Env. Setup/Tear DownReportingTeam PortalTest Case ManagementBranch VisualizationVersion ControlBuild AutomationGated Check-inAgile Planning ToolsTeam ExplorerTeam AgentsTFS
  • 5. Highly integratedProductive Extensible Low administrationAgileCustomizable Lightweight Patterns and practices FlexibleLayering Best PracticesProcess and tools support individuals, teams and organizations frictionlessly and transparentlyOvercome ComplexityQuality MindsetCulture of InnovationCollaborationTransparencyIntegrationClarityAlignmentEfficiency
  • 6. Goals for 2010 Release - QualityAlign QA with the LifecycleCreate tighter Dev/Test interactionEnable highly leveraged QA teams
  • 7. Key Test Capabilities in VS2010 Innovative Test Case Management
  • 8. Easy provisioning of multi-tier test environments
  • 9. File rich & actionable bug during manual testing
  • 14. Powerful Build EngineBuild ExplorerCentralized build informationBuild Report to display code and work itemsExecutes TestsUnit testAutomated Coded UI testWeb testsLoad testsThird party tool testsDeployPhysical machinesVirtual machinesVirtual Lab machines- Restores to Clean Baseline
  • 16. Lab ManagementNEW!* Support for ESX will not be available in TFS 2010 but is on the TFS roadmap
  • 17. Lab Management (1 Server, 1Host, 5 VMs)Physical HostSC-VMM AgentClientVirtual GuestBuild/Test Agents Virtual GuestBuild/Test Agents ControllersVirtual GuestBuild/Test Agents Virtual GuestBuild/Test Agents Virtual GuestBuild/Test Agents ServerTeam Foundation ServerSC-VMM Server (supports HyperV. VmWare)TRTCMLab ManagementReportingBuildWITProxyVC
  • 20. Microsoft Confidential15Manage snapshots for environmentAccess environment using Lab Environment Viewer
  • 22. Testing Done RightTest and Lab ManagerManual Testing for the 21st centuryPlan, Manage and Execute tests from one placeVirtual Test EnvironmentsReduce the overhead of maintaining physical test environmentsShare Virtual environments between team membersWeb and Load TestingKnow your code is ready for the big timeMeasure performance under real time load conditions and ensure that your applications are ready for release
  • 23. Testing ToolsMTM Manual Testing ToolsTest Plan ManagementTest Case ManagementShared Steps ManagementTest Configuration ManagementTest Fast ForwardingTest CollectorsTest Lab ManagementVisual StudioAutomated Testing ToolsAutomated Coded UI TestingWeb TestingLoad TestingGeneric TestsDeveloper Unit TestsDatabase Unit Tests
  • 24. The ProblemDevelopment and test have built a wall:Development work happens on one side of the wall.Testing happens on the other. Builds and test results are passed back and forth, but not in a collaborative fashion.
  • 25. Development PerspectiveWorks on my machine!What build is being tested?How do I repro this?I already fixed this bug!The testers are clueless twits that don’t even know what good software is!
  • 26. Test PerspectiveThis is still broken? They said they fixed it!What is supposedly fixed in this new build?Is the new build deployed to our QA environment?The developers are clueless twits that don’t even know what good software is!
  • 27. Rich BugsNEW!Repro StepsScreenshotVideo CaptureSystem InfoDebug LogTest EnvironmentEvent LogAction Recording
  • 29. Microsoft Confidential24Test Case is first class work item in TFSDetailed steps along with expected results
  • 30. Microsoft Confidential25Data drive a test caseSpecify data in parameter table
  • 31. Microsoft Confidential26Shared Steps allows for common steps to be reused across test cases
  • 33. Microsoft Confidential28Dev clicks on lvr link & selects connect to snapshot of the environment
  • 35. Create code, Don’t debug itDependency DiagramsUnderstand code dependencies visually and understand where to make changesGated Check-InStop build breaks before they happenCode Analysis and Code MetricsHelp you find and fix potential problems before you make them
  • 36. Spend Less time DebuggingIntelliTrace™Make “No-Repro” History with Actionable BugsTest Impact Analysis and Code CoverageRun the Right Tests and only the Right TestsAnd know you have really tested you codeCoded UI TestsAutomated regression tests let you find bugs earlier
  • 38. Test Impact AnalysisIdentify tests that need to be run as the result of a code change
  • 39. Coded UI TestingEnables verification of UI functionality.Record test actions and VS will generate the resulting code.Assertions can be added to verify functionality.Like all VS tests, results can be stored in TFS.
  • 45. Are we making progress on running test plans?How are our builds doing over time?Are we fixing bugs?What’s the quality of our bug fixes?What’s the value?
  • 46. SummaryMicrosoft test offerings align QA with lifecycleMicrosoft has a comprehensive offering for testers and developers that enables them to break the silos between dev & test Integrated offerings enable QA teams to be more leveragedBuilt for extensibility by partners 41
  • 47. Contact InfoAnna Russoarusso@notionsolutions.comWeekly Team System Webcastshttp://www.notionsolutions.comBloghttp://a7russo.spaces.live.com42

Editor's Notes

  1. Let me drill down into the capabilities in each product. For a more extensive list of capabilities, please go to www.microsoft.com.vstudio.Microsoft Visual Studio 2010 Professional is the essential tool for basic development tasks to allow developers to implement their ideas easily. This includes core capabilities for Windows, Web, and Office development, along with new capabilities for Cloud and SharePoint development. There are also new tools for Silverlight and Multi-core development. With Visual Studio 2010 the IDE and editor were refreshed using Microsoft Windows Presentation Foundation.[CLICK]Microsoft Visual Studio 2010 Premium is a complete toolset for developers to deliver scalable, high quality applications. This includes support for offline database development, unit testing and change management, static code analysis, performance profiling and code coverage and code metrics. New capabilities including UI test automation (aka Coded UI Tests) and Test Impact Analysis are available in premium.[CLICK]Microsoft Visual Studio 2010 Ultimate is the comprehensive suite of application lifecycle management tools for teams to ensure quality results from design to deployment. This includes IntelliTrace – the new historical debugger which enables debugging events that ran previously on your machine, or another machine. Microsoft Test and Lab manager is included in Ultimate enabling complete Test Case Management and test execution. Additionally the new architecture and modeling tools are included in Ultimate, including support for authoring UML diagrams (Activity, Use Case, Sequence, Component and Class diagrams are supported).[CLICK]
  2. There are some additional products in the Visual Studio 2010 family.Team Foundation Server 2010 is the center of gravity – the hub for a development team. Team Foundation Server has a version control repository, a test case management database, a work item tracking and change management system, support of build automation and a comprehensive reporting solution built on SQL Server Reporting Services. Some of the new capabilities of Team Foundation Server include support for gated check-in, branch visualization and drag-n-drop merge, and new Agile Planning tools.[CLICK]Team Lab Management 2010 enables teams to configure and manage virtual lab environment. Team Lab Management works with System Center Virtual Machine Manage enabling teams to create environment templates, provision ring-fenced environments, and checkpoint those environments. Those checkpoints can be attached to bugs filed using the Test and Lab Manager enabling the person fixing the bug to open the environment right to the appropriate point in the application flow.[CLICK]Visual Studio Test Elements 2010 is the essential tool for anyone engaging in test case management or manual test execution in the development lifecycle. This tool is designed for the generalist tester – someone who tests applications, but who is not responsible for writing code. This product includes Microsoft Test and Lab Manager (the Visual Studio IDE is not included). [CLICK]
  3. The idea is you can take all of your learned best practices and begin to layer them into areas that need the most help. The notion of “best practices” apply at many levels when talking about the Application Lifecycle – from the individual to the organization.
  4. The 2010 release for Microsoft is a very big release with a lot of rich capabilities. Quality is a key pillars for the release planning efforts and we aspired to achieve the above goals with the test offerings in the 2010 release by taking a fresh look at the problems.We want to align QA with the lifecycle to ensure that testers can add more value to the application lifecycle and are not looked at “necessary evil”. Having test assets co-located with the dev assets & project assets ensures visibility across the entire team.Create tighter integration across development & test teams to ensure that we can eliminate waste across the hand shake (or lack there of) that happens across devs & tests when it comes to bugs, builds, recreation of bugs etc. Enable highly leveraged QA teams ensures that teams are most efficient and are driving up productivity by focusing on key tasks and eliminating a lot of the waste that spans from boring repetitive tasks.
  5. Test Case Management using Microsoft Test and Lab Manager, a centralized testing toolProvisioning of multi-tier test environments and integrating it with build workflowFiling rich & actionable bug with minimal effort on the provisioned environmentCreating Coded UI Test using Action Log from Manual Testing & adding it run as part of build workflow on provisioned test environment
  6. Having the right infrastructure and approach to testing is helps ensure high quality deliverables at the end of the development cycle. Visual Studio 2010 Ultimate arms you with tools to ensure that testing is done right the first time and streamlines the testing process to ensure that you can deliver on time and on budget.Test and Lab ManagerVisual Studio 2010 Ultimate delivers a brand new product for manual testing and test case management. The new Test and Lab Manager interface is a thoroughly modern interface that allows testers and anyone else involved in testing to manage test plans, test cases and individual tests. In addition, Test and lab manager acts as the one stop shop for manual testing. When executing manual tests, the Test and Lab Manager interface morphs into the Microsoft Test Runner, a modern integrated manual test interface that allows manual tests to be executed and the results to be filed in a simple and productive way. Additionally, Microsoft Test Runner can take a snapshot of the system data, record a video of the test, take a picture of the bug and record the IntelliTrace log to ensure you can always repro a bug, and there are no more "not reproducible" discussions. Virtual Test EnvironmentsOne of the most costly aspects of testing is the maintenance of the test infrastructure. A traditional test infrastructure consisted of rooms full of physical test machines that required dedicated professionals to provision and maintain. With Visual Studio 2010 Ultimate this test infrastructure has gone virtual. By using the new virtualized test lab management capabilities it is possible to reduce the overhead inherent with maintaining a physical test infrastructure and instead take advantage of the power of virtualized environments. It is also possible to share these environments not only within your testing team but also with other members of the team who need access to specific environments for development tests or dry runs prior to full scale testing begins.Web and Load TestingVisual Studio 2010 Ultimate also gives you access to advanced web and load testing features that help you ensure that whatever application you are building it is ready for the most demanding uses. The Web and Load testing capabilities of Visual Studio 2010 Ultimate help you ensure that whatever application you are building it is ready for whatever scenarios your organization can envisage taking you one step closer to knowing your application is ready for prime time.
  7. Having the right infrastructure and approach to testing is helps ensure high quality deliverables at the end of the development cycle. Visual Studio 2010 Ultimate arms you with tools to ensure that testing is done right the first time and streamlines the testing process to ensure that you can deliver on time and on budget.Test and Lab ManagerVisual Studio 2010 Ultimate delivers a brand new product for manual testing and test case management. The new Test and Lab Manager interface is a thoroughly modern interface that allows testers and anyone else involved in testing to manage test plans, test cases and individual tests. In addition, Test and lab manager acts as the one stop shop for manual testing. When executing manual tests, the Test and Lab Manager interface morphs into the Microsoft Test Runner, a modern integrated manual test interface that allows manual tests to be executed and the results to be filed in a simple and productive way. Additionally, Microsoft Test Runner can take a snapshot of the system data, record a video of the test, take a picture of the bug and record the IntelliTrace log to ensure you can always repro a bug, and there are no more "not reproducible" discussions. Virtual Test EnvironmentsOne of the most costly aspects of testing is the maintenance of the test infrastructure. A traditional test infrastructure consisted of rooms full of physical test machines that required dedicated professionals to provision and maintain. With Visual Studio 2010 Ultimate this test infrastructure has gone virtual. By using the new virtualized test lab management capabilities it is possible to reduce the overhead inherent with maintaining a physical test infrastructure and instead take advantage of the power of virtualized environments. It is also possible to share these environments not only within your testing team but also with other members of the team who need access to specific environments for development tests or dry runs prior to full scale testing begins.Web and Load TestingVisual Studio 2010 Ultimate also gives you access to advanced web and load testing features that help you ensure that whatever application you are building it is ready for the most demanding uses. The Web and Load testing capabilities of Visual Studio 2010 Ultimate help you ensure that whatever application you are building it is ready for whatever scenarios your organization can envisage taking you one step closer to knowing your application is ready for prime time.
  8. Test Case Management using Microsoft Test and Lab Manager, a centralized testing toolProvisioning of multi-tier test environments and integrating it with build workflowFiling rich & actionable bug with minimal effort on the provisioned environmentCreating Coded UI Test using Action Log from Manual Testing & adding it run as part of build workflow on provisioned test environment
  9. Test Case Management using Microsoft Test and Lab Manager, a centralized testing toolProvisioning of multi-tier test environments and integrating it with build workflowFiling rich & actionable bug with minimal effort on the provisioned environmentCreating Coded UI Test using Action Log from Manual Testing & adding it run as part of build workflow on provisioned test environment
  10. The more time you spend debugging and fixing code the less time you have to spend creating innovative solutions and bringing value to the outcome. Visual Studio 2010 Ultimate includes features that help you reduce the number of bugs that get into an application thereby freeing you up to spend more of your time being creative around the solutions you deliver. Dependency DiagramsMaking changes to code can be fraught with danger and often leads to many types of new bugs being introduced into a solution that can be difficult to debug and fix. Visual Studio 2010 Ultimate allows you to create dependency diagrams that allow you to visually understand the dependencies between various areas of a solution helping you find where to make changes and what potential ripple effect those changes may have.Gated Check-InOne of the most costly problems that development teams face is when a build gets broken. This can potentially stop all development work for an entire team while the cause of the broken build is investigated and fixes are put in place. Visual Studio 2010 Ultimate includes an innovative new feature called Gated Check-In that looks to stop build breaks before they happen. By utilizing the shelving infrastructure first introduced into TFS in 2005, Gated Check-Ins allow developer to check code into source control but hold that check-in from the build tree until it has passed all the required validation and test required to ensure that there are not potential issues that may break the build. This is all done in the background and allows you to continue working while the checks and validations are performed.Code Analysis and Code MetricsOne easy way to reduce the number of bugs that occur is to simply ensure that the code you right is higher quality. Visual Studio 2010 Ultimate helps you find and fix problems before you make them by delivering advanced tools that analyze code for potential issues and ensure that code that is written is of high quality and maintainable.
  11. Debugging code takes up a disproportionate amount of the development lifecycle. With the new features in Visual Studio 2010 Ultimate you can ensure that you reduce the amount of time spent debugging code to a minimum. IntelliTraceThe new IntelliTrace feature makes the “no-repro” discussion a thing of the past. It records the application’s execution history guaranteeing that the developer can always reproduce a reported bug. Step back in time to see the exact application state at the point of time when the bug occurs and use the inline call hierarchy to quickly trace a program’s execution flow without invoking the debugger. Automatically open the code at the place exactly where the code broke, reducing debugging time. Test Impact Analysis and Code CoverageTest impact analysis can tell you exactly what tests are impacted when you change a piece of code allowing you to choose to only run impacted tests. When you change a piece of code, Visual Studio 2010 Ultimate can make an automatic recommendation of tests based on that change leading to reduced testing time. Coupling this functionality with the Code Coverage tools ensure that not only are you running the appropriate tests but that you are testing all of your code so you can be confident that the code you deliver is free of defects.Coded UI TestsOnce you have found bugs in your code and have taken the steps to fix them, automated regression tests ensure that as you progress further through the development process that you catch any bugs that may have been re-introduced earlier in the cycle. This in turn ensures that you find new bugs earlier and can catch them when they are less costly to fix.
  12. http://blogs.msdn.com/mathew_aniyan
  13. http://blogs.msdn.com/gautamg/archive/2010/01/07/platform-support-for-coded-ui-test-and-fast-forward-feature-of-test-runner.aspx