Software Testen mit Visual Studio Lab Management

Preview:

Citation preview

Developer Day

Software Testen mit Visual Studio Lab Management

Nico Orschel

MVP VS ALM, AIT

Nico.Orschel@aitgmbh.de

Marc Müller

Principal Consultant, 4tecture GmbH

mmueller@4tecture.ch

Agenda

Introduction 5’

Build, Deploy and Test 20’

Infrastructure 10’

Lab Management for Devs 15’

Summary / Q&A 10’

Introduction

Chapter 1/5

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.

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.

Screenshot

System Info

Video Capture

Test

Environment

Log

Debug Log

Test Case (for

repro steps)

Action

Recording

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

Build, Deploy, Test

Chapter 2/5

build

applicati

on

deploy

applica

tion

run

tests

build

app.

restore

env.

deploy

app.

take

env.

snapsh

ot

run

tests

restore

snapsh

ot

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

Predictable (Web) deployment (using MSDeploy)

Post-deployment snapshot facilitates exploratory testing

Infrastructure

Chapter 3/5

Available since Visual Studio 2010

Integrates with Hyper-V

Allows us to:

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

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

VS Lab for Devs

Chapter 4/5

Summary

Chapter 5/5

Microsoft® Visual Studio® 2012 Premium

OR

Microsoft® Visual Studio® Test Professional 2012

• 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

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

© 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

Nico.Orschel@aitgmbh.de

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

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

Contact

Recommended