Team Foundation Server 2010 - Overview
-
Upload
steve-lange -
Category
Technology
-
view
8.325 -
download
3
description
Transcript of 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
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
VISUAL STUDIO 2010Application Lifecycle Management Solutions
Introducing Visual Studio 2010
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
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
TEAM FOUNDATION SERVERFocus Areas
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
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…
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
PLAN & MANAGE YOUR PROJECT
Process Guidance & Automation− Embedded into Team Foundation Server− Provides contextual guidance (documentation)− Delivered via Process Templates
− Helps ensure predictability
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
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
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
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
UNDERSTAND PARALLEL DEVELOPMENT
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..
Version Control
−Integrated into Work Item Tracking, Builds
−Major Capabilities−Changesets−Workspaces−Branch And Merge−Shelving
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
22
Check-in Policies
− Soft requirements for check-in− Extensible− Can be overridden Work item
association
Testing
Clean build
Comments
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
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
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
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?
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
TFS 2010: Understand Parallel Development
− First class branches− Drag & Drop Merging
− Visualize branch relationships− Track change across branches
− History− Timeline− Richer Annotate
− Conflict resolution
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?
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
Workflow based build
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
For Non-.NET Development
− Team Explorer Everywhere− Eclipse plug-in for TFS− Rich client (Java-based)− Command-Line
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
NO MORE “NO REPRO” BUGS
Rich & Actionable Bugs
Actionable Bug
−Enables immediate action.−Contains:
−Steps to Reproduce−System Information−Screenshots & Video
Capture−IntelliTrace
Microsoft® Test Manager 2010
−Create test cases for requirements.
−Plan & execute test runs.
−File bugs & track results.
IntelliTrace
−Historical record of code execution.
−Like a DVR for debugging.
−Examine actual code execution.
REPORT ON YOUR PORTFOLIO
− 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?
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
Out-of-the-Box Agile Support
− Baked-in best practices− Agile Workbooks.
− Product Backlog− Iteration Backlog
Simplified Reporting
− Reports using SQL Server Reporting Services.− Detailed and thorough
− Workbook queries with Microsoft Office Excel.− Fast and flexible
SharePoint Dashboards
−Improved SharePoint integration
−Powerful dashboards−Ensures transparency
for all stakeholders
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
Microsoft Confidential46
Microsoft Confidential47
Report on Your Entire Portfolio
− Customizable Dashboards− SharePoint web parts
− TFSWA− Excel reports using MOSS− Relational warehouse− Excel reporting
Reports
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
Track the rate bugs are found and fixed
How fast are bugs being found and fixed?
Shows the rate of discovering and resolving bugs
Shows how far each user story has been
implemented
How are the user stories tracking?
How many stories are remaining?
Shows hours of work remaining and
completed per user story
How many test cases are ready to run?
Shows what state the test cases are in
What is the progress or our test plans?
Shows the progress of your test plan
What is the progress or our test runs?
Shows the progress of your test runs
Microsoft Confidential57
Work Item Report Generation
Microsoft Confidential58
Dashboards Excel Services Reports
Team Web AccessSharepoint Web Parts
Thank You
Questions?
Contact Information
Steve Lange• Developer Technology Specialist• [email protected]• blogs.msdn.com/slange