Team Foundation Server 2010 - Overview

61
Team Foundation Server 2010 Microsoft Application Lifecycle Management Steve Lange Sr. Developer Technology Specialist Microsoft | Denver, CO [email protected] | blogs.msdn.com/slange

description

A full overview of Team Foundation Server 2010 (not just what's new). Includes 4 main areas: - Manage & Plan your Project- Understand Parallel Development- No More "No Repro" Bugs- Reporting on your Entire Portfolio.Screenshots are included.

Transcript of Team Foundation Server 2010 - Overview

Page 1: Team Foundation Server 2010 - Overview

Team Foundation Server 2010

Microsoft Application Lifecycle Management

Steve LangeSr. Developer Technology SpecialistMicrosoft | Denver, [email protected] | blogs.msdn.com/slange

Page 2: Team Foundation Server 2010 - Overview

Agenda

−Introductions−Microsoft’s Application Lifecycle

Management Solutions−Visual Studio 2010 Product Family−Focus Areas

− Plan and Manage Your Project− Understand Parallel Development− No More “No Repro” Bugs− Report on Your Portfolio

−Summary−Q&A−Close & Next Steps

Page 3: Team Foundation Server 2010 - Overview

VISUAL STUDIO 2010Application Lifecycle Management Solutions

Page 4: Team Foundation Server 2010 - Overview

Introducing Visual Studio 2010

Page 5: Team Foundation Server 2010 - Overview

Test Manager 2010

Manual Testing

Layer Diagram

UML Modeling

Load Testing Web Testing

Test Case Management

IntelliTrace™

Architecture Explorer Fast Forward

Logical Class Designer

Cloud Development

Office Development

Windows Development

New WPF Editor Customizable IDE

Multi-core Development

Silverlight Tools

Web Development

SharePoint Development

Generate from Usage

Static Code Analysis

Database Deployment

Code Metrics

Database Unit Testing Test Data Generation

Test Impact AnalysisUI Test Automation

Code Coverage

Performance Profiling

Database Change Mgmt

Page 6: Team Foundation Server 2010 - Overview

Test Manager 2010

Test Case ManagementFast Forward

Manual Testing

Lab Mgmt Config.

Checkpoint Environment

Environment from Template

Virtual Env. Setup/Tear Down

Team Explorer

Team Agents

Reporting

Team Portal

Test Case Management

Branch Visualization

Version Control

Build Automation

Gated Check-in

Agile Planning Tools

Page 7: Team Foundation Server 2010 - Overview
Page 8: Team Foundation Server 2010 - Overview

TEAM FOUNDATION SERVERFocus Areas

Page 9: Team Foundation Server 2010 - Overview

What is Team Foundation Server?

Process Focused

Process TemplatesSharePointCustomizable

Version Control

Integrated Check-inCheck-in PoliciesShelving

Work Item Tracking

Manage workBugs, Tasks, Requirements, Stories, Risks, etc.Very Extensible

Build Automation

Continuous IntegrationScheduledAd HocShelveset

Reporting

Decision SupportTrack Project ProgressDashboards

Team

Foundati

on

Serv

er

Page 10: Team Foundation Server 2010 - Overview

What Can TFS Handle?

− Platforms− Windows− Linux− Unix− Max OS X− Any Java-enabled Platform

− Technologies− .NET− Non-Managed Code− SharePoint− Java

If you can see it…

Page 11: Team Foundation Server 2010 - Overview

Team Foundation Server Focus Areas

Plan and Manage

Your Project

Work Item Tracking

Process Guidance & Automation

Understand Parallel

Development

Version Control

Branch Visualizatio

n

Build Manageme

nt

No More “No Repro”

Bugs

Test Case Manageme

ntIntelliTrace

Microsoft Test

Manager (MTM)

Lab Manageme

nt

Report on Your

PortfolioDashboards Reports

Page 12: Team Foundation Server 2010 - Overview

PLAN & MANAGE YOUR PROJECT

Page 13: Team Foundation Server 2010 - Overview

Process Guidance & Automation− Embedded into Team Foundation Server− Provides contextual guidance (documentation)− Delivered via Process Templates

− Helps ensure predictability

Page 14: Team Foundation Server 2010 - Overview

Process Template

− Choose and/or customize− Out of the box: MSF Agile and MSF for CMMI− Others: SDL, Scrum, RUP, etc.

− Stored in an XML file− Process Template Editor tool− Configures

− Types of Work Items− Use Case, Task, Bug, Change Request, …

− Contents of each Work item Type− UI for each Work Item Type− Process Guidance documentation− Layout for SharePoint Portal− Types of Reports

Page 15: Team Foundation Server 2010 - Overview

Manage Your Project

− Team Foundation Server− Agile project management workbooks− Work item linking and hierarchy− Work item usability

− Rich text− Links control− HTML link control− Drag & Drop

− Traceability queries− Query folders− Excel & Project improvements

− Project round tripping− Formula persistence− Undo

Page 16: Team Foundation Server 2010 - Overview

Manage Your Project

− Top-to-Bottom Traceability− Requirements Traceability− Parent/Child Relationships− Rollup and Drilldown

− Agile Planning− Built-in product backlog mgmt− Built-in iteration planning− Easily customizable

− Great Project Integration− Full dependency linking − Full round-tripping w/ TFS

Page 17: Team Foundation Server 2010 - Overview

Work Item Tracking

Track any “Item of Record”• Bug, task, user story, etc.

Customizable• Dialog, fields, workflow

Accessible• Excel, Project, Web, SharePoint, 3rd Party• Take offline

Related• Link to work items, version control, test results, etc.

Highly Organized• Hierarchical• Query folders• Drag & Drop

Page 18: Team Foundation Server 2010 - Overview

UNDERSTAND PARALLEL DEVELOPMENT

Page 19: Team Foundation Server 2010 - Overview

Common Misconceptions

TFS Version control is VSS “Version Next”

• Uhh, no.

One Team Project Per Solution

• Team Projects can contain multiple solutions/projects, or whatever..

TFS is for .NET only

• “If you can save it..”

You need Visual Studio

• Lots of plug-ins, web interface, CLI, etc..

Page 20: Team Foundation Server 2010 - Overview

Version Control

−Integrated into Work Item Tracking, Builds

−Major Capabilities−Changesets−Workspaces−Branch And Merge−Shelving

Page 21: Team Foundation Server 2010 - Overview

Integrated Check-in

−Atomic−A changeset is guaranteed to have all changes

from a check-in−Integrated

−Check-in policy applied (but override-able)−Work Items associated−Builds associated with Work Items−Check-in notes−All related to changeset−Pending Check-in Window−Notification possibilities

−Check-in Policy−Customizable, extensible

Page 22: Team Foundation Server 2010 - Overview

22

Check-in Policies

− Soft requirements for check-in− Extensible− Can be overridden Work item

association

Testing

Clean build

Comments

Page 23: Team Foundation Server 2010 - Overview

Changesets

−Logical container of data related to check-in−File and branch information−Links to work items−Check-in notes−Comment−Policy compliance−Metadata (date, time, user)−Unit of atomic checkin

−Uniquely identified−Numeric identifier−Incremental

−Represents a point in time of source repository

Page 24: Team Foundation Server 2010 - Overview

Workspaces

Client side copy of source

checked out from

repository

Owned by one user on one machine

Changes in workspace

create “pending changes”

Workspace Mapping = Repository

folder mapped to Local Folder

Page 25: Team Foundation Server 2010 - Overview

Branch And Merge

Branch• A branch relationship is created in TFS to avoid

duplication of history and metadata• Path-space branching• Intelligent copies

Merge• Sync a branch into another• Cherry Picking changesets (include or omit)• Ability to show changes that have not been

merged

Page 26: Team Foundation Server 2010 - Overview

Branch Visualization

Focuses on answering common parallel development questions− Where did this change come from?− Has my change made it over

there?− How are these branches related?

Page 27: Team Foundation Server 2010 - Overview

27

Shelving

−Set aside pending changes without checkin−Optionally revert to

unmodified files−Restore shelved changes by

“unshelving”−Unshelve other user’s changes

−Power of task branching with less overhead

Task switching

Peer reviews

Backup WIP

Sharing

Page 28: Team Foundation Server 2010 - Overview

TFS 2010: Understand Parallel Development

− First class branches− Drag & Drop Merging

− Visualize branch relationships− Track change across branches

− History− Timeline− Richer Annotate

− Conflict resolution

Page 29: Team Foundation Server 2010 - Overview

Branch Visualization

Focuses on answering common parallel development questions− Where did this change come from?− Has my change made it over

there?− How are these branches related?

Page 30: Team Foundation Server 2010 - Overview

Build Automation

Extension of MS Build

• Integrated Windows Workflow

Several scenarios

supported

• Continuous Integration• Scheduled• Gated / Shelveset• Ad-hoc

Provides build reporting back

to TFS

• Pass / Fail• Trend data

Integrated testing

• Any automated test

Page 31: Team Foundation Server 2010 - Overview

Workflow based build

Page 32: Team Foundation Server 2010 - Overview

TFS 2010: Create a Supportive Build Workflow

Gated check-in• Essential for large teams & few branches.

Layer Diagram Validation• Ensure designed architecture is met

Distributed build• Faster builds, faster iterations

Shelveset build• Integration validation without risking the build.

Build notifications• Tray app for instant notification

Build Details View with links to errors/warnings• Direct navigation to problem source

Page 33: Team Foundation Server 2010 - Overview

For Non-.NET Development

− Team Explorer Everywhere− Eclipse plug-in for TFS− Rich client (Java-based)− Command-Line

Page 34: Team Foundation Server 2010 - Overview

Microsoft Confidential34

Check-in Validation

− Gated check-in intercepts check-ins

− Queues a server build to validate changes

− Only changes that build successfully get committed

− Definition of a “success” is customizable

− Users can also queue a build of a shelveset for “opt-in” validation

Edit Code Check inBuild and

Test

Did build succeed?

Find root cause

Fixavailable?

Teamblocked

Yes

NoYes

No

Edit codeGated

check-inAutomated build

Did build succeed?

Commit Changes Yes

Readyfor test

No

Before

After

Page 35: Team Foundation Server 2010 - Overview

NO MORE “NO REPRO” BUGS

Rich & Actionable Bugs

Page 36: Team Foundation Server 2010 - Overview

Actionable Bug

−Enables immediate action.−Contains:

−Steps to Reproduce−System Information−Screenshots & Video

Capture−IntelliTrace

Page 37: Team Foundation Server 2010 - Overview

Microsoft® Test Manager 2010

−Create test cases for requirements.

−Plan & execute test runs.

−File bugs & track results.

Page 38: Team Foundation Server 2010 - Overview

IntelliTrace

−Historical record of code execution.

−Like a DVR for debugging.

−Examine actual code execution.

Page 39: Team Foundation Server 2010 - Overview

REPORT ON YOUR PORTFOLIO

Page 40: Team Foundation Server 2010 - Overview

− Are we going to deliver a quality project on time?− What do I need to know now to course correct?− What ‘fires’ will we have to put out that we don’t

know about?− What can I do to reduce the risk?

Page 41: Team Foundation Server 2010 - Overview

At a Glance - Reporting

Choose your Warehouse• Cube• Relational

Built-in Reporting• SQL Server Reporting Services• Excel

Trending, aggregate, “roll-up” reports• Dashboards

Accessible via Portal, Team Explorer, others

Page 42: Team Foundation Server 2010 - Overview

Out-of-the-Box Agile Support

− Baked-in best practices− Agile Workbooks.

− Product Backlog− Iteration Backlog

Page 43: Team Foundation Server 2010 - Overview

Simplified Reporting

− Reports using SQL Server Reporting Services.− Detailed and thorough

− Workbook queries with Microsoft Office Excel.− Fast and flexible

Page 44: Team Foundation Server 2010 - Overview

SharePoint Dashboards

−Improved SharePoint integration

−Powerful dashboards−Ensures transparency

for all stakeholders

Page 45: Team Foundation Server 2010 - Overview

Dashboards

− Information-rich dashboards−Roll-up reports show KPI’s−Drill-down for further analysis−Quickly customizable

− Easy interaction with developers−Web-based bug filing−Web-based feature requests−Track status of bugs / features

Page 46: Team Foundation Server 2010 - Overview

Microsoft Confidential46

Page 47: Team Foundation Server 2010 - Overview

Microsoft Confidential47

Page 48: Team Foundation Server 2010 - Overview

Report on Your Entire Portfolio

− Customizable Dashboards− SharePoint web parts

− TFSWA− Excel reports using MOSS− Relational warehouse− Excel reporting

Page 49: Team Foundation Server 2010 - Overview

Reports

Page 50: Team Foundation Server 2010 - Overview

Shows state of bugs over time and by

priority

How many bugs do we have?

Shows bug state,priority, severity,

and who they are assigned too

Page 51: Team Foundation Server 2010 - Overview

Track the rate bugs are found and fixed

How fast are bugs being found and fixed?

Shows the rate of discovering and resolving bugs

Page 52: Team Foundation Server 2010 - Overview

Shows how far each user story has been

implemented

How are the user stories tracking?

Page 53: Team Foundation Server 2010 - Overview

How many stories are remaining?

Shows hours of work remaining and

completed per user story

Page 54: Team Foundation Server 2010 - Overview

How many test cases are ready to run?

Shows what state the test cases are in

Page 55: Team Foundation Server 2010 - Overview

What is the progress or our test plans?

Shows the progress of your test plan

Page 56: Team Foundation Server 2010 - Overview

What is the progress or our test runs?

Shows the progress of your test runs

Page 57: Team Foundation Server 2010 - Overview

Microsoft Confidential57

Work Item Report Generation

Page 58: Team Foundation Server 2010 - Overview

Microsoft Confidential58

Dashboards Excel Services Reports

Team Web AccessSharepoint Web Parts

Page 59: Team Foundation Server 2010 - Overview

Thank You

Questions?

Page 60: Team Foundation Server 2010 - Overview

Contact Information

Steve Lange• Developer Technology Specialist• [email protected]• blogs.msdn.com/slange

Page 61: Team Foundation Server 2010 - Overview