Microsoft | Open Door<br />Building Modern Applications with Microsoft Visual Studio 2010 and Team Foundation Server - Par...
Agenda<br />
Source Code Version Control<br />
Source Code Version Control<br />Changesets<br />Integrated Check-in<br />Check-in Policies<br />Workspaces<br />Shelving<...
Source Code Version Control<br />Labeling<br />Compare/Diff<br />Annotation<br />Branching & Merging<br />Other Concepts<b...
Changesets<br />
Integrated Check-in<br />
Check-in Policies<br />Requirements for Check-in<br />Overridable<br />Extensible<br />
Workspaces<br />Client side copy of source retrieved from repository<br />Owned by one user on one machine<br />Changes in...
Shelving<br />Switch Tasks<br />Perform a Code Review<br />Backup<br /> Work-In-Progress<br />Checkpoint<br /> Work-In-Pro...
Version Control Integration with Other TFS Components<br /><ul><li>Create various build scenarios
Build reports show associated changeset
Easily associate code to work items
Provides traceability</li></ul>Version Control<br />Influences version control structure<br />Automatically impacts veloci...
Tracking Bugs, Tasks & Other Work Items<br />Work Item Tracking Data Store<br />Main Functions:<br />Add new or modify wor...
Work item type
State
Assigned To</li></li></ul><li>Test-Driven Development<br />Intellectuals solve problems, geniuses prevent them<br />- Albe...
No Test<br />
TDD<br />
Testing<br />
TDD<br />
TDD<br />
TDD<br />How to do it<br />• Design: figure out what you want to do<br />• Test: write a test to express the design<br />•...
Time taken to fix bugs<br />
Unit Testing<br />
Automated UI Testing<br />Coded UI testing enables you to automate user interface testing in Web and Windows‐based applica...
Static Code Analysis<br />Just because it compiles, doesn’t mean it works!<br />
Static Code Analysis<br />
Static Code Analysis<br />
IntilliTrace<br />No More “No Repro” Bugs<br />Rich & Actionable Bugs<br />Historical record of code execution.<br />Like ...
IntilliTrace<br />
Building Code<br />End to End Iteration<br />Build Targets<br />Build Break<br />Build Error<br />
Building Code<br />Commonly used targets<br />
Upcoming SlideShare
Loading in …5
×

VS TFS 2010 - Part2

1,829 views

Published on

Building Modern Applications with Microsoft Visual Studio 2010 and Team Foundation Server - Part 2

Published in: Business, Technology
  • Be the first to comment

  • Be the first to like this

VS TFS 2010 - Part2

  1. 1. Microsoft | Open Door<br />Building Modern Applications with Microsoft Visual Studio 2010 and Team Foundation Server - Part II<br />Dareen Alhiyari<br />Technology Specialist<br />Softact – Jordan<br />Dareen@Softact.com<br />
  2. 2. Agenda<br />
  3. 3. Source Code Version Control<br />
  4. 4. Source Code Version Control<br />Changesets<br />Integrated Check-in<br />Check-in Policies<br />Workspaces<br />Shelving<br />Key Concepts<br />
  5. 5. Source Code Version Control<br />Labeling<br />Compare/Diff<br />Annotation<br />Branching & Merging<br />Other Concepts<br />
  6. 6. Changesets<br />
  7. 7. Integrated Check-in<br />
  8. 8. Check-in Policies<br />Requirements for Check-in<br />Overridable<br />Extensible<br />
  9. 9. Workspaces<br />Client side copy of source retrieved from repository<br />Owned by one user on one machine<br />Changes in workspace create pending changes<br />Workspace mapping = Repository folder mapped to local folder<br />
  10. 10. Shelving<br />Switch Tasks<br />Perform a Code Review<br />Backup<br /> Work-In-Progress<br />Checkpoint<br /> Work-In-Progress<br />Developer<br />Share <br />Work-In-Progress<br />Set aside pending changes without checkin<br />Optionally revert to unmodified files<br />Restore shelved changes by “unshelving”<br />Unshelve other user’s changes<br />Power of task branching with less overhead<br />Scenarios<br />
  11. 11. Version Control Integration with Other TFS Components<br /><ul><li>Create various build scenarios
  12. 12. Build reports show associated changeset
  13. 13. Easily associate code to work items
  14. 14. Provides traceability</li></ul>Version Control<br />Influences version control structure<br />Automatically impacts velocity, code churn<br />
  15. 15. Tracking Bugs, Tasks & Other Work Items<br />Work Item Tracking Data Store<br />Main Functions:<br />Add new or modify work items<br />Attach files to work items<br />Create links among work items<br />Find or list a filtered set of work items<br />Each work item is assigned:<br /><ul><li>A unique ID
  16. 16. Work item type
  17. 17. State
  18. 18. Assigned To</li></li></ul><li>Test-Driven Development<br />Intellectuals solve problems, geniuses prevent them<br />- Albert Einstein<br />
  19. 19. No Test<br />
  20. 20. TDD<br />
  21. 21. Testing<br />
  22. 22. TDD<br />
  23. 23. TDD<br />
  24. 24. TDD<br />How to do it<br />• Design: figure out what you want to do<br />• Test: write a test to express the design<br />• It should FAIL<br />• Implement: write the code<br />• Testagain<br />• It should PASS<br />
  25. 25. Time taken to fix bugs<br />
  26. 26. Unit Testing<br />
  27. 27. Automated UI Testing<br />Coded UI testing enables you to automate user interface testing in Web and Windows‐based applications. These regression tests ensure that subsequent changes to the code do not break sections that already work. <br />
  28. 28. Static Code Analysis<br />Just because it compiles, doesn’t mean it works!<br />
  29. 29. Static Code Analysis<br />
  30. 30. Static Code Analysis<br />
  31. 31. IntilliTrace<br />No More “No Repro” Bugs<br />Rich & Actionable Bugs<br />Historical record of code execution.<br />Like a DVR for debugging.<br />Examine actual code execution.<br />
  32. 32. IntilliTrace<br />
  33. 33. Building Code<br />End to End Iteration<br />Build Targets<br />Build Break<br />Build Error<br />
  34. 34. Building Code<br />Commonly used targets<br />
  35. 35. Demo<br />I'm a great believer in luck, and I find the harder I work the more I have of it.<br />- Thomas Jefferson<br />
  36. 36. Summary<br />Team 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 real‐time visibility into project status, for all team members, with powerful reporting tools and dashboards. <br />
  37. 37. Thank You!<br />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.<br />- William A. Foster<br />
  38. 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.<br />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.<br />
  39. 39. Questions<br />Thank You!<br />Contact Info<br />DareenAlhiyari<br />Technology Specialist<br />Dareen@softact.com<br />

×