際際滷

際際滷Share a Scribd company logo
Microsoft | Open DoorBuilding Modern Applications with Microsoft Visual Studio 2010 and Team Foundation Server - Part IIDareen AlhiyariTechnology SpecialistSoftact  JordanDareen@Softact.com
Agenda
Source Code Version Control
Source Code Version ControlChangesetsIntegrated Check-inCheck-in PoliciesWorkspacesShelvingKey Concepts
Source Code Version ControlLabelingCompare/DiffAnnotationBranching & MergingOther Concepts
Changesets
Integrated Check-in
Check-in PoliciesRequirements for Check-inOverridableExtensible
WorkspacesClient side copy of source retrieved from repositoryOwned by one user on one machineChanges in workspace create pending changesWorkspace mapping = Repository folder mapped to local folder
ShelvingSwitch TasksPerform a Code ReviewBackup Work-In-ProgressCheckpoint Work-In-ProgressDeveloperShare Work-In-ProgressSet aside pending changes without checkinOptionally revert to unmodified filesRestore shelved changes by unshelvingUnshelve other users changesPower of task branching with less overheadScenarios
Version Control Integration with Other TFS ComponentsCreate various build scenarios
Build reports show associated changeset
Easily associate code to work items
Provides traceabilityVersion ControlInfluences version control structureAutomatically impacts velocity, code churn
Tracking Bugs, Tasks & Other Work ItemsWork Item Tracking Data StoreMain Functions:Add new or modify work itemsAttach files to work itemsCreate links among work itemsFind or list a filtered set of work itemsEach work item is assigned:A unique ID
Work item type
State
Assigned ToTest-Driven DevelopmentIntellectuals solve problems, geniuses prevent them- Albert Einstein
No Test
TDD
Testing
TDD
TDD
TDDHow to do it Design: figure out what you want to do Test: write a test to express the design It should FAIL Implement: write the code Testagain It should PASS
Time taken to fix bugs
Unit Testing
Automated UI TestingCoded UI testing enables you to automate user interface testing in Web and Windowsbased applications. These regression tests ensure that subsequent changes to the code do not break sections that already work.
Static Code AnalysisJust because it compiles, doesnt mean it works!
Static Code Analysis
Static Code Analysis
IntilliTraceNo More No Repro BugsRich & Actionable BugsHistorical record of code execution.Like a DVR for debugging.Examine actual code execution.
IntilliTrace
Building CodeEnd to End IterationBuild TargetsBuild BreakBuild Error
Building CodeCommonly used targets

More Related Content

VS TFS 2010 - Part2

  • 1. Microsoft | Open DoorBuilding Modern Applications with Microsoft Visual Studio 2010 and Team Foundation Server - Part IIDareen AlhiyariTechnology SpecialistSoftact JordanDareen@Softact.com
  • 4. Source Code Version ControlChangesetsIntegrated Check-inCheck-in PoliciesWorkspacesShelvingKey Concepts
  • 5. Source Code Version ControlLabelingCompare/DiffAnnotationBranching & MergingOther Concepts
  • 8. Check-in PoliciesRequirements for Check-inOverridableExtensible
  • 9. WorkspacesClient side copy of source retrieved from repositoryOwned by one user on one machineChanges in workspace create pending changesWorkspace mapping = Repository folder mapped to local folder
  • 10. ShelvingSwitch TasksPerform a Code ReviewBackup Work-In-ProgressCheckpoint Work-In-ProgressDeveloperShare Work-In-ProgressSet aside pending changes without checkinOptionally revert to unmodified filesRestore shelved changes by unshelvingUnshelve other users changesPower of task branching with less overheadScenarios
  • 11. Version Control Integration with Other TFS ComponentsCreate various build scenarios
  • 12. Build reports show associated changeset
  • 13. Easily associate code to work items
  • 14. Provides traceabilityVersion ControlInfluences version control structureAutomatically impacts velocity, code churn
  • 15. Tracking Bugs, Tasks & Other Work ItemsWork Item Tracking Data StoreMain Functions:Add new or modify work itemsAttach files to work itemsCreate links among work itemsFind or list a filtered set of work itemsEach work item is assigned:A unique ID
  • 17. State
  • 18. Assigned ToTest-Driven DevelopmentIntellectuals solve problems, geniuses prevent them- Albert Einstein
  • 20. TDD
  • 22. TDD
  • 23. TDD
  • 24. TDDHow to do it Design: figure out what you want to do Test: write a test to express the design It should FAIL Implement: write the code Testagain It should PASS
  • 25. Time taken to fix bugs
  • 27. Automated UI TestingCoded UI testing enables you to automate user interface testing in Web and Windowsbased applications. These regression tests ensure that subsequent changes to the code do not break sections that already work.
  • 28. Static Code AnalysisJust because it compiles, doesnt mean it works!
  • 31. IntilliTraceNo More No Repro BugsRich & Actionable BugsHistorical record of code execution.Like a DVR for debugging.Examine actual code execution.
  • 33. Building CodeEnd to End IterationBuild TargetsBuild BreakBuild Error
  • 35. DemoI'm a great believer in luck, and I find the harder I work the more I have of it.- Thomas Jefferson
  • 36. SummaryTeam Foundation Server (TFS) is the collaboration platform at the core of Microsoft's application lifecycle management solution. TFS automates and streamlines the software delivery process, as well as provides full traceability and realtime visibility into project status, for all team members, with powerful reporting tools and dashboards.
  • 37. Thank You!Quality is never an accident; it is always the result of high intention, sincere effort, intelligent direction and skillful execution; it represents the wise choice of many alternatives.- William A. Foster
  • 38. 息 2010 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries.The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

Editor's Notes

  1. Add timeline, geek image, tik tac toe imageAdd crossroads image, quote: find a job you love, and youll never work a day in your life