Software Testen mit Visual Studio Lab Management

25
Developer Day Software Testen mit Visual Studio Lab Management Nico Orschel MVP VS ALM, AIT [email protected] Marc Müller Principal Consultant, 4tecture GmbH [email protected]

Transcript of Software Testen mit Visual Studio Lab Management

Page 1: Software Testen mit Visual Studio Lab Management

Developer Day

Software Testen mit Visual Studio Lab Management

Nico Orschel

MVP VS ALM, AIT

[email protected]

Marc Müller

Principal Consultant, 4tecture GmbH

[email protected]

Page 2: Software Testen mit Visual Studio Lab Management

Agenda

Introduction 5’

Build, Deploy and Test 20’

Infrastructure 10’

Lab Management for Devs 15’

Summary / Q&A 10’

Page 3: Software Testen mit Visual Studio Lab Management

Introduction

Chapter 1/5

Page 4: Software Testen mit Visual Studio Lab Management

Testers find bugs but may be

unable to document them in

sufficient detail so that they can

be acted upon by developers.

Developers may not have access to the only environment in which a bug can be isolated.

“If it can’t happen twice, it didn’t

happen once” - James (my mechanic)

You can’t fix

what you can’t

reproduce.

Page 5: Software Testen mit Visual Studio Lab Management

Allow testers to create bugs that contain “actionable” information.

Allow developers the ability to “Make it happen the second time”

Give developers access to the test environment at the point the bug was encountered.

Page 6: Software Testen mit Visual Studio Lab Management

Screenshot

System Info

Video Capture

Test

Environment

Log

Debug Log

Test Case (for

repro steps)

Action

Recording

Page 7: Software Testen mit Visual Studio Lab Management

Devs Tester

UAT Release Manager

Pre-Prod environment

Web

Server

DB

Cluster

Build environment

Web

Server

DB

Server

Dev environment

Web + DB

Server

QA environment

Web

Server

DB

Server

Web

Server

Page 8: Software Testen mit Visual Studio Lab Management

Build, Deploy, Test

Chapter 2/5

Page 9: Software Testen mit Visual Studio Lab Management

build

applicati

on

deploy

applica

tion

run

tests

Page 10: Software Testen mit Visual Studio Lab Management

build

app.

restore

env.

deploy

app.

take

env.

snapsh

ot

run

tests

restore

snapsh

ot

Page 11: Software Testen mit Visual Studio Lab Management
Page 12: Software Testen mit Visual Studio Lab Management

Revert virtual environment to ‘clean’ baseline in minutes than hours

Predictable (Web) deployment (using MSDeploy)

Post-deployment snapshot facilitates exploratory testing

Page 13: Software Testen mit Visual Studio Lab Management

Infrastructure

Chapter 3/5

Page 14: Software Testen mit Visual Studio Lab Management

Available since Visual Studio 2010

Integrates with Hyper-V

Allows us to:

Page 15: Software Testen mit Visual Studio Lab Management

17

Team Foundation Server (TFS)

Test Case management

Build management

Work Item Tracking

Source Control

System Center Virtual Machine Manager

Hyper-V Hosts

VM1

VM2

VMn

Library Shares

LS1

LS2

LSn

Lab Management

Page 16: Software Testen mit Visual Studio Lab Management

Hyper-V host

VM1

System Center

Virtual Machine Manager

Team Foundation Server

Lab Management

Test Case Management

Build Management

Source Control

Work Item Tracking

Library Share

Client:

Test Manager

Client:

Visual Studio

Stored Virtual

Machine

Test

Controller

Build

Controller

Lab agent

Test Agent

Build agent

Build agent for

Compilation

Stored Virtual

Machine 2 Stored Virtual

Machine 2 Stored Virtual

Environment

Page 17: Software Testen mit Visual Studio Lab Management
Page 18: Software Testen mit Visual Studio Lab Management

VS Lab for Devs

Chapter 4/5

Page 19: Software Testen mit Visual Studio Lab Management
Page 20: Software Testen mit Visual Studio Lab Management

Summary

Chapter 5/5

Page 21: Software Testen mit Visual Studio Lab Management

Microsoft® Visual Studio® 2012 Premium

OR

Microsoft® Visual Studio® Test Professional 2012

Page 22: Software Testen mit Visual Studio Lab Management

• Revert to a ‘known’ state in minutes

• Predictable multi-machine application deployment

• Know build quality before investing in further testing

No more waiting for build setup

• Prioritize test cases based on code changes

No more wasteful testing

• Environment snapshots, Intellitrace and other collectors capture exact state of problem

No more no repro

Page 23: Software Testen mit Visual Studio Lab Management

Allow Testers to capture bugs the first time they happen Document the hell out of a bug so that even a Developer can fix it Use Rich Bug data (Intellitrace, Video, Action Logs, Snapshot Environments) to find and fix the root cause Create tests that prove the bug is gone

Page 24: Software Testen mit Visual Studio Lab Management

© AIT GmbH & Co. KG Ihre Software effizienter entwickelt

AIT GmbH & Co. KG http://www.aitgmbh.de

http://www.tfsblog.de

AIT GmbH & Co. KG, Leitzstr. 45, 70469 Stuttgart

Nico Orschel

[email protected]

http://www.xing.com/profile/Nico_Orschel

http://de.linkedin.com/pub/nico-orschel/25/484/602

Contact

Page 25: Software Testen mit Visual Studio Lab Management