80
Visual Studio 2010 ALM What’s In It for Me? October 22 nd , 2010 Jeff Bramwell Enterprise Applications Architect [email protected] twitter.com/jbramwell devmatter.blogspot.com

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

Embed Size (px)

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.

Citation preview

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

Visual Studio 2010 ALM

What’s In It for Me?

October 22nd, 2010

Jeff BramwellEnterprise Applications [email protected]/jbramwell devmatter.blogspot.com

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

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

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

Agenda

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

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

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

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

Visual Studio 2010

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

Visual Studio 2010

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

Agenda

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

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

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

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

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)

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

Installing TFS 2010

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

needs, etc.− Example screen shots follow…

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

TFS 2010 – Install Step 1

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

TFS 2010 – Install Step 2

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

TFS 2010 – Install Step 3

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

TFS 2010 – Install Step 4

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

TFS 2010 – Configuration - 1

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

Team Foundation Admin Console

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

TFS Topology

TFS ATHR

Applications

Single Server TFS

Simple

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

TFS Topology

TFS ATHR

Applications

Data Tier

Clustered SQL Server

Scale (a little), SQL Consolidation

Dedicated Admin Tools

App Tier

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

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

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

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

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

Version Control/Builds

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

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

Branch Visualization

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

Branch Visualization (cont’d)

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

Workflow-Based Builds

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

Workflow Process

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

Build Workflow – Continuous Integration

Edit CodeAutomated

Build

Y / NReady for

Test

SubmitCheck-In

BROKEN BUILD

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

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

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

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

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

Project Management

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

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

Hierarchical Work Items

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

Work Item Visualization

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

Hierarchical Work Items in Excel

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

Query Folders

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

Formatting in MS Excel

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

Ad-hoc reports in Microsoft Excel

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

Ad-hoc reports in Microsoft Excel

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

Ad-hoc reports in Microsoft Excel

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

Improved Agile Reporting

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

Improved Agile Reporting

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

Improved Agile Reporting

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

Improved Test Reporting

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

Improved Test Reporting

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

Improved Test Reporting

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

Improved Bug Reporting

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

Improved Bug Reporting

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

52

Dashboards

− “My” Dashboard− Project Dashboard

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

“My” Dashboard

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

Project Dashboard

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

Agenda

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

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

Test Automation

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

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

Test Case Management

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

Microsoft Test Manager

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

Test Manager – Data Collection

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

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

Defect Data – Build & System Config

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

Test Lab Management

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

test resolution

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

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

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

Lab Management

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

Agenda

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

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

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

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

Test Impact Analysis

− Identifies tests impacted by code changes

− Significantly reduces test time

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

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

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

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?

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

Agenda

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

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

Architecture

− New Architectural Diagrams−Layer Diagram

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

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

Layer Diagram

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

layers− Diagram can be validated

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

Three Layer Pattern

− Example Three Layer Pattern:

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

UML Activity Diagram

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

Use Case Diagram

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

Logical Class Diagram

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

Component Diagram

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

Sequence Diagram

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

Agenda

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

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

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!

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