TDC 2010 - VS2010 ALM - What's In It for Me

Post on 11-Nov-2014

1,925 views 0 download

Tags:

description

TDC 2010 - Visual Studio 2010 is here – and a lot of new features have come along for the ride. In this session, we will explore new features of Visual Studio 2010 including an improved installation and configuration experience, architecture explorer and validation, new diagrams, branch visualization, gated check-ins, new testing features, automated builds based on Windows Workflow, new work item features, and much, much more. If you’re looking for an overview of the new features in Visual Studio 2010, then this session is for you.

transcript

Visual Studio 2010 ALM

What’s In It for Me?

October 22nd, 2010

Jeff BramwellEnterprise Applications Architectjbramwell@otsug.orgtwitter.com/jbramwell devmatter.blogspot.com

Who Am I?

− Enterprise Architect, Farm Credit Services of America

− Leader, Omaha Team System User Group

− Microsoft MVP – Visual Studio ALM− MCSD.NET, MCTS: TFS

2

Agenda

− Overview/SKU Changes− Team Foundation Server− Testing− Development− Architecture− Miscellaneous− Questions

Visual Studio 2010

Agile Project Planning

End to End TraceabilityStunning New Reports

1-click Custom Excel reports

New Dashboards

Branch Visualization

Distributed Build

Build Windows Workflow Integration

Test PlanningTest Execution

Manual Test Runner

Test Impact Analysis

Coded UI Test

Historical Debugging

Gated Checkin

Activity Diagram

Modeling Projects

Logical Class Diagram Architecture Explorer

Sequence DiagramComponent Diagram

Use Case DiagramLayer Diagram

Scalability ++

TFS Administrationw/MMC

Database Edition merged into Development

Visual Studio 2010

Visual Studio 2010

Agenda

− Overview− Team Foundation Server− Testing− Development− Architecture− Miscellaneous− Questions

TFS 2008 Admin – The Way It Was

− Installation not as easy as it should be− Upgrades even more difficult than

clean install− Scalability limited− Ability to move team projects is

difficult− Ability to isolate projects also difficult− Limited to Server OS’s

TFS 2010 Admin – The Way It Is Now

− Installation and configuration have been separated

− Introduction of TFS Administration Console

− Scalability greatly improved− Team Project Collections− Multiple Data Tier Support− Application Tier Load Balancing Support

− Can now be installed on client OS’s (e.g. Vista and Windows 7)

Installing TFS 2010

− Install TFS “bits”− Configure TFS based on hardware,

needs, etc.− Example screen shots follow…

TFS 2010 – Install Step 1

TFS 2010 – Install Step 2

TFS 2010 – Install Step 3

TFS 2010 – Install Step 4

TFS 2010 – Configuration - 1

Team Foundation Admin Console

TFS Topology

TFS ATHR

Applications

Single Server TFS

Simple

TFS Topology

TFS ATHR

Applications

Data Tier

Clustered SQL Server

Scale (a little), SQL Consolidation

Dedicated Admin Tools

App Tier

IsolationScale

TFS Topology

TFS ATHR

Applications

Finance Application

s

Team Project Collection

Company Web site

Another SQL Server

TFS AT

TFS AT

NLB

VIP

Reliability, Scale

Network Load

Balancing

Consolidated Admin Snap-

in

Team Project Collection

TFS Topology

TFS AT HR Applications

Finance Applications

Company Web site

TFS AT

TFS AT

NLB

SharePoint Farm

DataWarehouse

Project Server

TFS Build Farm

Virtual Machine Manager

TFS Proxies

Test Rig

Version Control/Builds

− Branch Visualization− Workflow-Based Builds− Distributed Builds− Gated Check-ins− Build Agent Pooling

Branch Visualization

Branch Visualization (cont’d)

Workflow-Based Builds

Workflow Process

Build Workflow – Continuous Integration

Edit CodeAutomated

Build

Y / NReady for

Test

SubmitCheck-In

BROKEN BUILD

Build Workflow – Gated Check-in

Edit CodeSubmit Gated

Check-in

Commit Check-In

Y / NReady for

Test

Automated Build

Submit Shelveset

Build

Check-in Rejected

Notification

Check-in Accepted

Notification

Build Server Pooling & Tags

Build ServerPooled Build

Servers

Individually identified build servers

Build Server Build Server

Tag: SupportLib

Pooled build servers

Tag: BizFramework

Pooled Build Servers

Pooled Build Servers

Project Management

− Work Items− Query Folders− Excel-based Reporting & Tools− Dashboards

Hierarchical Work Items

Work Item Visualization

Hierarchical Work Items in Excel

Query Folders

Formatting in MS Excel

Ad-hoc reports in Microsoft Excel

Ad-hoc reports in Microsoft Excel

Ad-hoc reports in Microsoft Excel

Improved Agile Reporting

Improved Agile Reporting

Improved Agile Reporting

Improved Test Reporting

Improved Test Reporting

Improved Test Reporting

Improved Bug Reporting

Improved Bug Reporting

52

Dashboards

− “My” Dashboard− Project Dashboard

“My” Dashboard

Project Dashboard

Agenda

− Overview− Team Foundation Server− Testing− Development− Architecture− Miscellaneous− Questions

Test Automation

− Need for:− Dedicated Testing Tool− Test Case Management− Ability to Associate Tests and Work Items− Automated UI Testing− Test Analysis

Test Case Management

Microsoft Test Manager

Test Manager – Data Collection

− “It works on my machine!”− Can’t reproduce− Steps not documented− No screen shots

Defect Data – Build & System Config

Test Lab Management

− Managing multiple test environments− Virtualize test lab resources− Ability to recreate environment for

test resolution

VSTS 2010 Lab Management

Team Foundation Server (TFS)

Lab Management

Test Case management

Build management

Work Item Tracking

Source Control

Hyper-V Hosts

Virtual Machin

e1Virtual Machin

e2Virtual Machin

en

Library Shares

Library Share1

Library Share2

Library Sharen

System Center Virtual Machine Manager

(SCVMM)

Testand Lab

Manager

Lab Management

Agenda

− Overview− Team Foundation Server− Testing− Development− Architecture− Miscellaneous− Questions

Unit Test Improvements

− Programmatically Control Unit Test Execution

− Support for Categories (instead of lists)

− Performance Improvements− E.G. using more than one core

− Extensible with Custom Attributes− Can Extend Unit Test Type

Test Impact Analysis

− Identifies tests impacted by code changes

− Significantly reduces test time

IntelliTrace

− Also known as “Historical Debugger”− Reduces debug “cycling”

− Start Debug− Encounter defect− Drop into debugger− Move back through execution history to

locate defect− Historical debug trace enables

debugging off-machine test runs

Database Features

− “Data Dude” built in− Support for non-Microsoft databases

now available via “Provider” model− Third-parties expected to build

providers− DB2− Oracle− Others?

Agenda

− Overview− Team Foundation Server− Testing− Development− Architecture− Miscellaneous− Questions

Architecture

− New Architectural Diagrams−Layer Diagram

− New UML Diagrams− Activity Diagram− Use Case Diagram− Logical Class Diagram− Component Diagram− Sequence Diagram

Layer Diagram

− Depicts application source as “Layers”− Several pre-built patterns included− Can associate source projects with

layers− Diagram can be validated

Three Layer Pattern

− Example Three Layer Pattern:

UML Activity Diagram

Use Case Diagram

Logical Class Diagram

Component Diagram

Sequence Diagram

Agenda

− Overview− Team Foundation Server− Testing− Development− Architecture− Miscellaneous− Questions

Miscellaneous

− .NET Framework 4.0− Parallel Extensions− PLINQ− F# now included with Visual Studio− Lots, lots more!

− Visual Studio− WPF-Based Code Editor− Custom Code Analysis Rule Sets− Target Framework (Client Profile/4.0)− Lots, lots, more!