Your SlideShare is downloading. ×
0
Visual Studio 2010 Testing for Developers
Visual Studio 2010 Testing for Developers
Visual Studio 2010 Testing for Developers
Visual Studio 2010 Testing for Developers
Visual Studio 2010 Testing for Developers
Visual Studio 2010 Testing for Developers
Visual Studio 2010 Testing for Developers
Visual Studio 2010 Testing for Developers
Visual Studio 2010 Testing for Developers
Visual Studio 2010 Testing for Developers
Visual Studio 2010 Testing for Developers
Visual Studio 2010 Testing for Developers
Visual Studio 2010 Testing for Developers
Visual Studio 2010 Testing for Developers
Visual Studio 2010 Testing for Developers
Visual Studio 2010 Testing for Developers
Visual Studio 2010 Testing for Developers
Visual Studio 2010 Testing for Developers
Visual Studio 2010 Testing for Developers
Visual Studio 2010 Testing for Developers
Visual Studio 2010 Testing for Developers
Visual Studio 2010 Testing for Developers
Visual Studio 2010 Testing for Developers
Visual Studio 2010 Testing for Developers
Visual Studio 2010 Testing for Developers
Visual Studio 2010 Testing for Developers
Visual Studio 2010 Testing for Developers
Visual Studio 2010 Testing for Developers
Visual Studio 2010 Testing for Developers
Visual Studio 2010 Testing for Developers
Visual Studio 2010 Testing for Developers
Visual Studio 2010 Testing for Developers
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×
Saving this for later? Get the SlideShare app to save on your phone or tablet. Read anywhere, anytime – even offline.
Text the download link to your phone
Standard text messaging rates apply

Visual Studio 2010 Testing for Developers

2,085

Published on

Visual Studio 2010 Testing for Developers - from DevExpress webinar on 2/24/2011.

Visual Studio 2010 Testing for Developers - from DevExpress webinar on 2/24/2011.

Published in: Technology
0 Comments
4 Likes
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total Views
2,085
On Slideshare
0
From Embeds
0
Number of Embeds
1
Actions
Shares
0
Downloads
0
Comments
0
Likes
4
Embeds 0
No embeds

Report content
Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
No notes for slide

Transcript

  • 1. Visual Studio 2010 Testing for Developers<br />Steve Lange<br />Developer Technology Specialist<br />Developer Platform & Evangelism<br />Microsoft | Denver, CO<br />
  • 2. Agenda<br />Testing Isn’t Just For Testers<br />Quality-Centric Tooling in VS 2010<br />Getting it Right the First Time<br />Diagnosing Issues<br />Time-Permitting<br />Other Test-Centric Capabilities<br />Web Performance Testing<br />Coded UI Testing<br />Other Concepts not Discussed Today<br />
  • 3. Before we start..<br />
  • 4. Testing Isn’t Just for Testers<br />
  • 5. Wouldn’t It Be Nice If..<br />.. code quality was optimized before moving to QA?<br />.. QA could file more rich & actionable bugs?<br />.. Developers had tooling to more quickly debug issues?<br />
  • 6. Developer-Tester Ping Pong<br />Tester<br />Developer<br />“I did the same thing and it works. Are you sure you did that?”<br />“Let me come down to your desk and see what you did.”<br />“It works on my machine. What’s different?”<br />“How much RAM do you have?”<br />“What do you want to know?”<br />“What OS are you running?”<br />“What steps did you take?”<br />“I did this, then this.”<br />“Yes, don’t you believe me?”<br />“I found a bug.”<br />“Windows 7.”<br />“Four gigs.”<br />A lot of wasted effort due to poor collaboration & integration<br />
  • 7. Quality-Centric Tooling for Developers<br />Getting it Right the First Time<br />Code Analysis & Metrics<br />Test Impact Analysis<br />Diagnosing Issues<br />IntelliTrace<br />Performance Profiling<br />
  • 8. Code Analysis<br />Static “grammar” checking of your code<br />Check for quality while you write it<br />Uses “rule sets” & categories<br />Naming conventions<br />Non-secure data access<br />Design Issues<br />Accessibility<br />Localization<br />Can be run automatically as part of local build<br />Create work item in TFS<br />
  • 9. Code Analysis Rule Sets<br />
  • 10. Code Metrics<br />Measures complexity & maintainability of managed code<br />Generated code is ignored<br />User can’t change it<br />For single project or entire solution<br />Export to Excel<br />Create work item in TFS<br />
  • 11. Understanding Code Metrics Values<br />
  • 12. Demo<br />Code Analysis & Code Metrics<br />
  • 13. Test Impact Analysis<br />Identifies tests impacted by code changes<br />Reduces test time<br />Compares code changes with coverage data<br />
  • 14. Demo<br />Test Impact Analysis<br />
  • 15. Diagnosing Issues<br />
  • 16. Debug is Fine, But..<br />Forward-only<br />Set breakpoint, run, pause, reset breakpoint, run again.<br />
  • 17. IntelliTrace<br />DVR for your code<br />Reduce “no repro” bugs<br />Bridge gap between test and development<br />Dynamically instruments code<br />Records program execution flow<br />Records program data (parameters & return values)<br />Direct code version navigation when using symbols<br />
  • 18. Demo<br />IntelliTrace<br />
  • 19. Performance Profiling<br />Performance session capture<br />Perf counter utilization (CPU, RAM, etc.)<br />Concurrency<br />Tier interaction (SQL Server)<br />Client-side Javascript<br />Provides<br />Comprehensive data & reports<br />Hot Path<br />Benchmark comparison<br />
  • 20. Profiling Reports<br />
  • 21. Profiling Reports<br />
  • 22. Demo<br />Performance Profiling<br />
  • 23. Is There Time?<br />
  • 24. Web Performance Tests<br />“Headless” browser testing<br />Test communication at protocol level<br />Measures request/response times, server codes, etc.<br />Add validations & extractions<br />Can be data-driven<br />
  • 25. Demo<br />Web Performance Tests<br />
  • 26. Coded UI Tests<br />Functional UI Testing, in .NET code<br />Validate behavior of application<br />Record actions & turn into code, or use existing recordings from a test case<br />
  • 27. Demo<br />Coded UI Tests<br />
  • 28. Other Testing Capabilities Not Discussed Today<br />Test Case Management & Automation<br />Load Testing<br />
  • 29. To Wrap Up<br />Visual Studio 2010 provides..<br />Tools for not diagnosing existing issues, but mitigating potential ones<br />Capabilities that cross the entire spectrum of testing, from the generalist tester to the true developer.<br />
  • 30. Questions?<br />
  • 31. Steve Lange<br />Developer Technology Specialist<br />Microsoft | Denver, CO<br />stevenl@microsoft.com<br />blogs.msdn.com/slange<br />@stevelange<br />

×