brian keller microsoft corp [email protected]

36
Brian Keller Microsoft Corp [email protected] Software Testing with Visual Studio 2010

Upload: roland-nigel-norris

Post on 20-Jan-2016

227 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Brian Keller Microsoft Corp Brian.Keller@Microsoft.com

Brian KellerMicrosoft [email protected]

Software Testing with Visual Studio 2010

Page 2: Brian Keller Microsoft Corp Brian.Keller@Microsoft.com

I work here…

Page 3: Brian Keller Microsoft Corp Brian.Keller@Microsoft.com

…on this…

Page 4: Brian Keller Microsoft Corp Brian.Keller@Microsoft.com

…and this.

Page 5: Brian Keller Microsoft Corp Brian.Keller@Microsoft.com

I blog here:http://blogs.msdn.com/brian

kel

Page 6: Brian Keller Microsoft Corp Brian.Keller@Microsoft.com

I published here:

Page 7: Brian Keller Microsoft Corp Brian.Keller@Microsoft.com

Visual Studio 2010

Page 8: Brian Keller Microsoft Corp Brian.Keller@Microsoft.com

Licensing Questions?

Corinna [email protected]

om

Page 9: Brian Keller Microsoft Corp Brian.Keller@Microsoft.com

Demopalooza

<demo/>

Page 10: Brian Keller Microsoft Corp Brian.Keller@Microsoft.com

on average professional coders make 100 to 150 errors in every 1000 lines of code they write

software bugs cost the US economy an estimated $59.5 billion every year

last year, canceled projects cost firms $67 billion; overruns on the other projects racked up another $21billion

Page 11: Brian Keller Microsoft Corp Brian.Keller@Microsoft.com

need something a little more concrete?

Page 12: Brian Keller Microsoft Corp Brian.Keller@Microsoft.com

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

Page 13: Brian Keller Microsoft Corp Brian.Keller@Microsoft.com

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

Page 14: Brian Keller Microsoft Corp Brian.Keller@Microsoft.com

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

Raptor is likely the most advanced manned aircraft that will ever fly…

Page 15: Brian Keller Microsoft Corp Brian.Keller@Microsoft.com

need something a little more visual?

Page 16: Brian Keller Microsoft Corp Brian.Keller@Microsoft.com
Page 17: Brian Keller Microsoft Corp Brian.Keller@Microsoft.com
Page 18: Brian Keller Microsoft Corp Brian.Keller@Microsoft.com
Page 19: Brian Keller Microsoft Corp Brian.Keller@Microsoft.com
Page 20: Brian Keller Microsoft Corp Brian.Keller@Microsoft.com

Demopalooza

<demo/>

Page 21: Brian Keller Microsoft Corp Brian.Keller@Microsoft.com

Training

Conditioning

Climbing

Training Phase

Cost of Failure

Page 22: Brian Keller Microsoft Corp Brian.Keller@Microsoft.com
Page 23: Brian Keller Microsoft Corp Brian.Keller@Microsoft.com

Development

Test

Release

Software Phase

Cost of Bugs

Page 24: Brian Keller Microsoft Corp Brian.Keller@Microsoft.com

Push Quality Upstream

Development

Test

Release

Software Phase

Cost o

f Bu

gs

Page 25: Brian Keller Microsoft Corp Brian.Keller@Microsoft.com

Generalist SpecialistManual Testing

Some scripting

Creates scripts to set up lab, create data

Strong scripting skills

Some coding skills

Strong coding

Develops fully automated testing procedures

Expert coding skills

Tester Segmentation

Black Box Testing

White Box Testing

API Testing

70% of testing happens here

majority of test tools target here

Page 26: Brian Keller Microsoft Corp Brian.Keller@Microsoft.com

What usually happens when a testerfinds a bug?

Graphic by Jeff Atwood (CodingHorror.com)

Page 27: Brian Keller Microsoft Corp Brian.Keller@Microsoft.com

Demopalooza

<demo/>

Page 28: Brian Keller Microsoft Corp Brian.Keller@Microsoft.com
Page 29: Brian Keller Microsoft Corp Brian.Keller@Microsoft.com

Credit: Michael Niggel

Page 30: Brian Keller Microsoft Corp Brian.Keller@Microsoft.com

How did I get here!?

Page 31: Brian Keller Microsoft Corp Brian.Keller@Microsoft.com

Automation Platform Support 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.

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 Opportunity for partners to add this using the Extensibility support. Docs and samples around extensibility are here.

Chrome/Opera/Safari

Flash/Java

SAP

Page 32: Brian Keller Microsoft Corp Brian.Keller@Microsoft.com

PDC Session Recordings:http://www.microsoftpdc.com

Page 33: Brian Keller Microsoft Corp Brian.Keller@Microsoft.com

10-4 Screencastshttp://Channel9.MSDN.com/shows/10-4/

Page 34: Brian Keller Microsoft Corp Brian.Keller@Microsoft.com

Visual Studio 2010 Training Kithttp://tinyurl.com/vs2010trainingkit

Page 35: Brian Keller Microsoft Corp Brian.Keller@Microsoft.com

Questions and Answers

<questions/>

Page 36: Brian Keller Microsoft Corp Brian.Keller@Microsoft.com