advanced diagnostics intellitrace and test automation n.
Download
Skip this Video
Loading SlideShow in 5 Seconds..
Advanced Diagnostics, IntelliTrace™ and Test Automation PowerPoint Presentation
Download Presentation
Advanced Diagnostics, IntelliTrace™ and Test Automation

Loading in 2 Seconds...

play fullscreen
1 / 27

Advanced Diagnostics, IntelliTrace™ and Test Automation - PowerPoint PPT Presentation


  • 83 Views
  • Uploaded on

PDC09-FT16. Advanced Diagnostics, IntelliTrace™ and Test Automation. Habib Heydarian ( habibh@microsoft.com ) http://blogs.msdn.com/habibh Program Manager Microsoft Corporation. VS2010: Quality as a 1 st Class Citizen. 1. 2. 4. 3. It Works on My Machine!. Write Code.

loader
I am the owner, or an agent authorized to act on behalf of the owner, of the copyrighted work described.
capcha
Download Presentation

PowerPoint Slideshow about 'Advanced Diagnostics, IntelliTrace™ and Test Automation' - hung


An Image/Link below is provided (as is) to download presentation

Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author.While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server.


- - - - - - - - - - - - - - - - - - - - - - - - - - E N D - - - - - - - - - - - - - - - - - - - - - - - - - -
Presentation Transcript
advanced diagnostics intellitrace and test automation
PDC09-FT16

Advanced Diagnostics, IntelliTrace™ and Test Automation

Habib Heydarian (habibh@microsoft.com)

http://blogs.msdn.com/habibh

Program Manager

Microsoft Corporation

it works on my machine
It Works on My Machine!

Write Code

Hand-offto Test

Test Code

File Bug

Hand-offto Dev

Investigate Bug

Resolve as

“No Repro”

what is intellitrace
What is IntelliTrace?

Today

+

=

Application

Instrumentation

Log File

IntelliTrace

  • Record
  • Playback
  • Rewind

=

+

=

IntelliTrace

intellitrace how did i get here

IntelliTrace: How Did I Get Here?

demo

HabibHeydarian

Program Manager

Visual Studio

intellitrace capabilities
IntelliTrace Capabilities
  • Code is instrumented dynamically
  • Records program execution flow
    • Method Enter & Exit
  • Records program data
    • Parameters
    • Return values
  • Low overhead for collection
    • Supports Dev, Test and Staging environments
  • Pay-as-you-go collection model
  • 1st class debugging experience in VS
intellitrace why did this build verification test bvt test fail

IntelliTrace: Why did this Build Verification Test (BVT) test fail?

demo

HabibHeydarian

Program Manager

Visual Studio

how intellitrace works
How IntelliTrace Works

Application

IntelliTrace Recorder

CollectionPlan.xml

IntelliTrace File

choosing the right tests the problem
Choosing the Right TestsThe Problem

Q: Which tests should the developer and tester run to verify this code change?

Automated Tests only

Manual Tests only

All of the above

Don’t know

Trick question??

Code Change

Δ

Application Functionality

choosing the right tests the consequence
Choosing the Right TestsThe Consequence

The world of Developers

The world of Testers

Verify more tests than needed

Verify too few tests than needed

  • Run more tests than needed
  • Run too few tests than needed
  • Less Productivity
    • Effort wasted on tests that don’t need to be run
  • Lower quality
    • Not enough testing to verify code change
what is test impact analysis
What is Test Impact Analysis?
  • Automatically pinpoint which tests are impacted as a result of a code change

What is the impact of this bug fix?

test impact analysis a one line bug fix

Test Impact Analysis: A One Line Bug Fix

demo

HabibHeydarian

Program Manager

Visual Studio

how test impact analysis works
How Test Impact Analysis Works

B

A

TFS

Microsoft Team & Lab Mgr

Team Build

Test Impact View

Manual Impacted Tests

C

Automated Impacted Tests

Team Build Report

multi tier performance analysis
Multi-Tier Performance Analysis

Client-side Script

Database calls

multi tier performance analysis1
Multi-Tier Performance Analysis

Developer: “I wonder where the problem could be???”

User: “Why is it taking so long to load the Orders page?”

Back End?

Front End?

Mid Tier?

performance analysis across multiple tiers

Performance Analysis Across Multiple Tiers

demo

HabibHeydarian

Program Manager

Visual Studio

collaborative debugging

Collaborative Debugging

demo

HabibHeydarian

Program Manager

Visual Studio

datatips
DataTips

Pin the DataTip to the source code

DataTip stays in sync with the source code

Toolbar allows the user to pin/unpin a DataTip

Context menu for managing values/expressions in the DataTip

DataTip changes color to indicate it is a floating window

Floating DataTips can be dragged anywhere, and can’t be pinned unless over source code

Space provided for comments in the DataTip which can be collapsed/expanded as desired

debugging a crash in a deployed application using dump files

Debugging a Crash in a Deployed Application using Dump Files

demo

HabibHeydarian

Program Manager

Visual Studio

dump file summary page
Dump File Summary Page

Dump file summary information

IL Interpreter for managed property evaluation

Operating system and CLR version information

Search modules

Support for mixed-mode dump files

Module Information

summary
Summary
  • IntelliTrace
  • Test Impact Analysis
  • Collaborative Debugging
  • Debugging Dump Files
  • Tier Interaction Profiling
  • Client-side Script Profiling
slide24

YOUR FEEDBACK IS IMPORTANT TO US!

Please fill out session evaluation forms online at

MicrosoftPDC.com

learn more on channel 9
Learn More On Channel 9
  • Expand your PDC experience through Channel 9
  • Explore videos, hands-on labs, sample code and demos through the new Channel 9 training courses

channel9.msdn.com/learn

Built by Developers for Developers….