Deep Dive Modern Apps Lifecycle with Visual Studio 2012: Software Testing with Microsoft Test...

26
Software Testing with Microsoft Test Manager 2012 and Lab Management 2012 Brian Keller Principal Technical Evangelist

description

More info on techdays.be

Transcript of Deep Dive Modern Apps Lifecycle with Visual Studio 2012: Software Testing with Microsoft Test...

Page 1: Deep Dive Modern Apps Lifecycle with Visual Studio 2012: Software Testing with Microsoft Test Manager 2012 and Lab Management 2012

Software Testing with Microsoft Test Manager 2012 and Lab Management 2012

Brian KellerPrincipal Technical Evangelist

Page 2: Deep Dive Modern Apps Lifecycle with Visual Studio 2012: Software Testing with Microsoft Test Manager 2012 and Lab Management 2012

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 3: Deep Dive Modern Apps Lifecycle with Visual Studio 2012: Software Testing with Microsoft Test Manager 2012 and Lab Management 2012

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 4: Deep Dive Modern Apps Lifecycle with Visual Studio 2012: Software Testing with Microsoft Test Manager 2012 and Lab Management 2012

Vasa• sank after sailing less than 1 nautical

mile out of Stockholm

• specifications were faulty, failing to take into account enough ballast to keep the ship upright

• test teams revealed that it was unstable, but launch was rushed, and QA was ignored

Page 5: Deep Dive Modern Apps Lifecycle with Visual Studio 2012: Software Testing with Microsoft Test Manager 2012 and Lab Management 2012
Page 6: Deep Dive Modern Apps Lifecycle with Visual Studio 2012: Software Testing with Microsoft Test Manager 2012 and Lab Management 2012
Page 7: Deep Dive Modern Apps Lifecycle with Visual Studio 2012: Software Testing with Microsoft Test Manager 2012 and Lab Management 2012
Page 8: Deep Dive Modern Apps Lifecycle with Visual Studio 2012: Software Testing with Microsoft Test Manager 2012 and Lab Management 2012
Page 9: Deep Dive Modern Apps Lifecycle with Visual Studio 2012: Software Testing with Microsoft Test Manager 2012 and Lab Management 2012

Training

Conditioning

Climbing

Training Phase

Cost of Failure

Page 10: Deep Dive Modern Apps Lifecycle with Visual Studio 2012: Software Testing with Microsoft Test Manager 2012 and Lab Management 2012
Page 11: Deep Dive Modern Apps Lifecycle with Visual Studio 2012: Software Testing with Microsoft Test Manager 2012 and Lab Management 2012

Development

Test

Release

Software Phase

Cost of Bugs

Page 12: Deep Dive Modern Apps Lifecycle with Visual Studio 2012: Software Testing with Microsoft Test Manager 2012 and Lab Management 2012

Generalist Specialist

Manual Testing Some scripting

Creates scripts to set up lab, create data

Strong scripting skills

Some coding skills

Strong coding

Develops automated testing procedures

Expert coding skills

Tester Segmentation

Black Box Testing

White Box Testing

API Testing

70% of testing happens heremajority of test tools target here

Page 13: Deep Dive Modern Apps Lifecycle with Visual Studio 2012: Software Testing with Microsoft Test Manager 2012 and Lab Management 2012

What usually happens when a testerfinds a bug?

Graphic by Jeff Atwood (CodingHorror.com)

Page 14: Deep Dive Modern Apps Lifecycle with Visual Studio 2012: Software Testing with Microsoft Test Manager 2012 and Lab Management 2012

Unified ALM Solution

Team Foundation

Server

Planning SCM Work Item Tracking

Testing and Lab

Management

Build Automation

Reporting and

Analytics

Page 15: Deep Dive Modern Apps Lifecycle with Visual Studio 2012: Software Testing with Microsoft Test Manager 2012 and Lab Management 2012

demoMicrosoft Test Manager 2012

Page 16: Deep Dive Modern Apps Lifecycle with Visual Studio 2012: Software Testing with Microsoft Test Manager 2012 and Lab Management 2012

(1) Get source (2) Compile projects

(3) Copy build to running environment

(4) Run deployment scripts for each machine

(5) Create environment snapshot

(6) Executeautomated tests

(7) Send testresults

(8) Publish results toTeam Foundation Server

Build – Deploy – Test

Team Build

Team Foundation Server

Test Controller

VMM Agent Test Agent Test Agent

VM Host Web Server (VM)

Database Server (VM)

Virtual Environment

Page 17: Deep Dive Modern Apps Lifecycle with Visual Studio 2012: Software Testing with Microsoft Test Manager 2012 and Lab Management 2012

VMM Agent Test Agent Test Agent

VM Host Web Server (VM)

Database Server (VM)

SCVMM ENVIRONMENT

Test Architecture

Test Agent Test Agent

Web Server Database Server

STANDARD ENVIRONMENT

Test Agent Test Agent

VM Template 1

VM Template 2

VM TEMPLATE LIBRARY

Team Foundation Server

System Center Virtual Machine Manager

(SCVMM)

Team Build

Test Controller

Page 18: Deep Dive Modern Apps Lifecycle with Visual Studio 2012: Software Testing with Microsoft Test Manager 2012 and Lab Management 2012

SCVMM vs. Standard EnvironmentsSCVMM Environment Standard Environment

Build-Deploy-Test

Manual Testing

Snapshot / Restore

Share Bug Snapshots

Network Fencing

3rd Party Virtualization

Physical Machines

Page 19: Deep Dive Modern Apps Lifecycle with Visual Studio 2012: Software Testing with Microsoft Test Manager 2012 and Lab Management 2012

demoLab Management

Page 20: Deep Dive Modern Apps Lifecycle with Visual Studio 2012: Software Testing with Microsoft Test Manager 2012 and Lab Management 2012

Lord Kelvin, 1824-1907

“…you cannot manage what you cannot measure.”

Page 21: Deep Dive Modern Apps Lifecycle with Visual Studio 2012: Software Testing with Microsoft Test Manager 2012 and Lab Management 2012
Page 22: Deep Dive Modern Apps Lifecycle with Visual Studio 2012: Software Testing with Microsoft Test Manager 2012 and Lab Management 2012
Page 23: Deep Dive Modern Apps Lifecycle with Visual Studio 2012: Software Testing with Microsoft Test Manager 2012 and Lab Management 2012
Page 24: Deep Dive Modern Apps Lifecycle with Visual Studio 2012: Software Testing with Microsoft Test Manager 2012 and Lab Management 2012
Page 25: Deep Dive Modern Apps Lifecycle with Visual Studio 2012: Software Testing with Microsoft Test Manager 2012 and Lab Management 2012
Page 26: Deep Dive Modern Apps Lifecycle with Visual Studio 2012: Software Testing with Microsoft Test Manager 2012 and Lab Management 2012