neil kidd developer tools technical specialist microsoft uk

64
Visual Studio Team System Neil Kidd Developer Tools Technical Specialist Microsoft UK

Upload: annabel-crawford

Post on 18-Jan-2018

216 views

Category:

Documents


0 download

DESCRIPTION

Team Foundation Server Source Code Repository Project Portal Work Item Tracking Project Reporting Build Server Visual Studio Client Tools Additional tools that extend Visual Studio for: ArchitectsDevelopers Database Professionals Testers (including load testing)

TRANSCRIPT

Page 1: Neil Kidd Developer Tools Technical Specialist Microsoft UK

Visual Studio Team System

Neil Kidd Developer Tools Technical Specialist

Microsoft UK

Page 2: Neil Kidd Developer Tools Technical Specialist Microsoft UK

TesterArchitect

IT / ProjectManagerBusiness

Analyst

Database ProfessionalDesigner

Visual Studio Team SystemSupporting the whole of the Application Life Cycle

Developer

SoftwareQuality

ProjectTransparency

TeamCollaboration

Page 3: Neil Kidd Developer Tools Technical Specialist Microsoft UK

What is Team System?

Team Foundation ServerSource Code Repository Project PortalWork Item TrackingProject ReportingBuild Server

Visual Studio Client ToolsAdditional tools that extend Visual Studio

for:ArchitectsDevelopersDatabase ProfessionalsTesters (including load testing)

Page 4: Neil Kidd Developer Tools Technical Specialist Microsoft UK

Visual Studio Client Tools

Simplify Project ConceptionDesign Project DeploymentDesign Service Oriented Projects

Improve Code QualityIncrease Developer Efficiency

Manage Test CasesLoad TestingImprove Communication

Schema Versioning SQL Refactoring & Unit TestingData Generation

Page 5: Neil Kidd Developer Tools Technical Specialist Microsoft UK
Page 6: Neil Kidd Developer Tools Technical Specialist Microsoft UK

Visual StudioIndustry Partners

XML Web Services

Page 7: Neil Kidd Developer Tools Technical Specialist Microsoft UK

Team Foundation Server

Page 8: Neil Kidd Developer Tools Technical Specialist Microsoft UK

Team Foundation ServerWeb Service InterfaceSQL Server 2005Analysis ServicesReporting ServicesWindows SharePoint Services

Page 9: Neil Kidd Developer Tools Technical Specialist Microsoft UK

Single Server InstallWeb Service InterfaceSQL Server 2005Analysis ServicesReporting ServicesWindows SharePoint Services

Single Server Install supports up to 450 Users

Page 10: Neil Kidd Developer Tools Technical Specialist Microsoft UK

Dual Server Deployment

Dual Server Install supports up to 3600 Users

Page 11: Neil Kidd Developer Tools Technical Specialist Microsoft UK

24 x 7 Availability

Clustered Sql Server

Standby App Server

Page 12: Neil Kidd Developer Tools Technical Specialist Microsoft UK

Separate Build Server

Separate Build server takes load off the TFS machine for Continuous Integration

Clustered Sql Server

Standby App Server

Page 13: Neil Kidd Developer Tools Technical Specialist Microsoft UK

Proxy Server

Proxy Server allows fast connection for distributed development teams

Page 14: Neil Kidd Developer Tools Technical Specialist Microsoft UK

Team Collaboration

Supports your development process

Page 15: Neil Kidd Developer Tools Technical Specialist Microsoft UK

Example Workflow

Business

AnalystProjectManage

r

Dev Team

Test

Operations

ChangeRequests

Use Case

Non FunctionalRequirements

Bugs

Tasks

ProductionErrors

Page 16: Neil Kidd Developer Tools Technical Specialist Microsoft UK

Example Workflow

Tasks

Business

AnalystProjectManage

r

Dev Team

Test

Operations

ChangeRequests

Use Case

Non FunctionalRequirements

Bugs

ProductionErrors

Page 17: Neil Kidd Developer Tools Technical Specialist Microsoft UK

Access TFS from ...

* Requires 3rd party client

*

*

*

*

Page 18: Neil Kidd Developer Tools Technical Specialist Microsoft UK

Work ItemsUse CasesNon Functional RequirementsRisksChange RequestsTasksBugs...

Example Work Item Types

Page 19: Neil Kidd Developer Tools Technical Specialist Microsoft UK

What is in a Work Item?Title Description Current State

Who it is assigned to

Attachments

Links to other Work Items Full Audited historyAnything else you want …

Closed

Active

Resolved

Closed

Active

Resolved

Proposed

Use Case Tasks Bugs

Page 20: Neil Kidd Developer Tools Technical Specialist Microsoft UK

Work Item User Interface

Page 21: Neil Kidd Developer Tools Technical Specialist Microsoft UK

MS Project

Page 22: Neil Kidd Developer Tools Technical Specialist Microsoft UK

SharePoint

Page 23: Neil Kidd Developer Tools Technical Specialist Microsoft UK

Web Access

Page 24: Neil Kidd Developer Tools Technical Specialist Microsoft UK

Multi Platform

Page 25: Neil Kidd Developer Tools Technical Specialist Microsoft UK

Process TemplateConfigures TFS to support your Development ProcessMSF Agile and MSF for CMMISeveral 3rd party templates

Scrum, RUP, EssUP, XP, ThoughtWorks, Avanade …

Create your own or modify an existing oneStored in an XML fileProcess Template Editor tool

Page 26: Neil Kidd Developer Tools Technical Specialist Microsoft UK

Software Quality

Page 27: Neil Kidd Developer Tools Technical Specialist Microsoft UK

Cost of BugsCo

st /

£

Lifecycle stageDevelopment Testing UAT Released

Page 28: Neil Kidd Developer Tools Technical Specialist Microsoft UK

Developers Time80% Debugging 20% Coding

Q: What if we could reduce debugging by 25%?

60% Debugging 40% Coding

A: We double the amount of code we can write

Page 29: Neil Kidd Developer Tools Technical Specialist Microsoft UK

When to test?

Design

Test

Develop

Test

Develop

Page 30: Neil Kidd Developer Tools Technical Specialist Microsoft UK

Test Early & Test Often

Design

TestDevelop

Design

TestDevelop

Design

TestDevelopIteration 1

Iteration 2Iteration 3

Page 31: Neil Kidd Developer Tools Technical Specialist Microsoft UK

Tools for the DeveloperIntegrated Unit Testing

Integrated Static Code analysisSecurity ErrorsLocalisation problemsMemory issues…

Integrated ProfilerPerformance problemsMemory problems

Potential Sql Injection attack

Object not Disposed

Localisation Issue

Page 32: Neil Kidd Developer Tools Technical Specialist Microsoft UK

Testing Tools

Web Test

SQL Unit Tests*

Unit Tests

*Requires Team Editionfor Database Professionals

Page 33: Neil Kidd Developer Tools Technical Specialist Microsoft UK

Testing Tools

Web Test

SQL Unit Tests*

Unit Tests

*Requires Team Editionfor Database Professionals

Distribute TestCoordinate “Attack”Monitor AgentsCollate Results

Page 34: Neil Kidd Developer Tools Technical Specialist Microsoft UK

Source Code RepositoryBuilt new from the ground up

Not based on SourceSafeSQL Server 2005 data storeCheckin Policies

Work Item associationUnit TestingStatic Analysis

ShelvingNot just for Visual Studio 2005/8Remote Proxy ServerMigration tools for code and history

*

Page 35: Neil Kidd Developer Tools Technical Specialist Microsoft UK

Build ProcessScheduled BuildContinuous IntegrationBuild Process

Compile CodeExecute Unit TestsStatic Code Analysis

Page 36: Neil Kidd Developer Tools Technical Specialist Microsoft UK

What went into the build?

Page 37: Neil Kidd Developer Tools Technical Specialist Microsoft UK

Build ProcessExtensible Build Process

Compile CodeExecute Unit TestsStatic Code AnalysisBuild Virtual ServerConfigure Web Site / ServicesInstall ApplicationDeploy DatabaseGenerate Test DataSystem or Load test Entire application

Page 38: Neil Kidd Developer Tools Technical Specialist Microsoft UK

Project Transparency

Page 39: Neil Kidd Developer Tools Technical Specialist Microsoft UK

Measuring Quality%

Uni

t Te

st P

assi

ng

Application Areas

100%

0%

Code CoverageActive BugsCode Churn

Page 40: Neil Kidd Developer Tools Technical Specialist Microsoft UK

Integrated Reporting

*

* *

* *

* * * *

** *

*

ProjectStructure

IterationStructure

WorkItem

Label VersionedItem

LatestVersion Changeset

Build TestResult

Page 41: Neil Kidd Developer Tools Technical Specialist Microsoft UK

Project Velocity

Page 42: Neil Kidd Developer Tools Technical Specialist Microsoft UK

Ad-hoc reports

Page 43: Neil Kidd Developer Tools Technical Specialist Microsoft UK

Sprint Burndown

Page 44: Neil Kidd Developer Tools Technical Specialist Microsoft UK

Development Practices Too Loose

Page 45: Neil Kidd Developer Tools Technical Specialist Microsoft UK

How Effective Is Our (Outsourced) Team?

Page 46: Neil Kidd Developer Tools Technical Specialist Microsoft UK

Inadequate Unit Testing

Page 47: Neil Kidd Developer Tools Technical Specialist Microsoft UK

• Microsoft Developer Division runs on it:

3,187 Users116 million files & 28 million folders

1.5TB when compressed!42 million download per week 299,000 Work Items

SQL Server team use itOffice team moving nowWindows are just starting to move

Does it Work?

DBPro cut dev time in

halfConfigureSoft

ROI: 512%

Payback: 3 months

Social Networking Site

Project Managers can

manage 2-3 times as

many projects

Global Manufacturer

ROI: 286%

Payback: 4 months

EDS

ROI: 225%

Payback: 6 months

Dell

Developers 50% more

productive

KBC

Page 48: Neil Kidd Developer Tools Technical Specialist Microsoft UK

© 2008 Microsoft Corporation. All rights reserved.This presentation is for informational purposes only. Microsoft makes no warranties, express or implied, in this summary.

http://blogs.msdn.com/ukvsts/

Page 49: Neil Kidd Developer Tools Technical Specialist Microsoft UK

Team Clients

Page 50: Neil Kidd Developer Tools Technical Specialist Microsoft UK

Architect Edition

Page 51: Neil Kidd Developer Tools Technical Specialist Microsoft UK

Architect Edition

Page 52: Neil Kidd Developer Tools Technical Specialist Microsoft UK

Architect Edition

Page 53: Neil Kidd Developer Tools Technical Specialist Microsoft UK

Developer EditionIntegrated Unit Testing

Integrated Static Code analysisSecurity ErrorsLocalisation problemsMemory issues…

Integrated ProfilerPerformance problemsMemory problems

Page 54: Neil Kidd Developer Tools Technical Specialist Microsoft UK

Developer Edition

Page 55: Neil Kidd Developer Tools Technical Specialist Microsoft UK

Test EditionRecord Web Tests from Internet Explorer

Page 56: Neil Kidd Developer Tools Technical Specialist Microsoft UK

Test EditionData driven testsValidate returned dataGenerate Code for the test (C#, VB, …)

Page 57: Neil Kidd Developer Tools Technical Specialist Microsoft UK

Test Edition

Page 58: Neil Kidd Developer Tools Technical Specialist Microsoft UK

Multiple Clients

Web Test

SQL Unit Tests*

Unit Tests

*Requires Team Editionfor Database Professionals

Page 59: Neil Kidd Developer Tools Technical Specialist Microsoft UK

The Real World

Web Test

SQL Unit Tests*

Unit Tests

*Requires Team Editionfor Database Professionals

Distribute TestCoordinate “Attack”Monitor AgentsCollate Results

Page 60: Neil Kidd Developer Tools Technical Specialist Microsoft UK

Team Test in Microsoft

Page 61: Neil Kidd Developer Tools Technical Specialist Microsoft UK

Database EditionTake control of database change

Offline, change management of the schemaRefactoring of database objects

Automate database testingUnit testing for Stored ProcsAutomatic generation of meaningful test data

Bring data professionals into the lifecycle

Work Item tracking for database changes

Page 62: Neil Kidd Developer Tools Technical Specialist Microsoft UK

© 2008 Microsoft Corporation. All rights reserved.This presentation is for informational purposes only. Microsoft makes no warranties, express or implied, in this summary.

http://blogs.msdn.com/ukvsts/

Page 63: Neil Kidd Developer Tools Technical Specialist Microsoft UK

The problem with VSS labels

Label: Release 1.0

Start work on 2.0

Check in Released Code

Get Latest from1.0 Label

Fix bug

Where do Iput this?

Bug in 1.0!

Page 64: Neil Kidd Developer Tools Technical Specialist Microsoft UK

Branching &Merging

Branch after release

Start work on 2.0

Fix bug

Bug in 1.0!

V2.0 Dev Branch

V1.0 RTM Branch

V1.0 Hotfixed Branch

Check in Released Code