View
223
Download
0
Category
Preview:
Citation preview
Hans-PetterHalvorsen,M.Sc.
GettingStarted
VisualStudioTeamServices
VisualStudioTeamServices• VisualStudioTeamServicesisaplatformtakingcareofallaspectsoftheprocessofdevelopingsoftware(thesoftwaredevelopmentlifecycle)
• YoucanshareDocumentsandCodewithyourTeam,reportBugs,etc.
TeamFoundationServer(TFS)vs.VisualStudioTeamServices(VSTS)
https://en.wikipedia.org/wiki/Team_Foundation_Server
TeamFoundationServer(TFS)
VisualStudioTeamServices
(VSTS)
“TeamFoundation Server”(TFS).Thisissoftwareyoucaninstallonaserverinyourownnetwork.YouandyourteamcanthenhookupVisualStudio tothatserveranduseTFS.Youhavetobuythesoftware,buy licenses forusersanduseyourownserver.
“Visual StudioTeamServices”(VSTS)isanonlineversion ofTFS– hostedbyMicrosoft.Youdon'tneedtoinstallanything.Youneedtopayamonthly fee(until5usersisforfree).VSTSisavailablefromhttp://www.visualstudio.com
vs.
VisualStudio
VisualStudiodon'tcareifyouuseTFSorVSTS.Youjusthook itupusinganURL.
• TeamFoundationServer(TFS)/VisualStudioTeamServices(VSTS)isanApplicationLifecycleManagement(ALM)system,– i.e.,thesystemtakescareofallaspectsinsoftwaredevelopment– fromplanning,requirements,coding,testing,deploymentand
maintenance.• TFS/VSTSisaSourceCodeControl(SCC),BugTracking,Project
Management,andTeamCollaborationplatform• TightlyintegratedwithVisualStudioasMicrosoftisthevendor
ofbothVisualStudioandTFS/VSTS• Cloudbasededition(HostingService):“VisualStudioTeam
Services”(former:“VisualStudioOnline”and“TeamFoundationService”)
WhatisTFS/VSTS?
VisualStudioTeamServices(VSTS)
• FormerlyknownasVisualStudioOnline(VSO)• VSTSisaSourceCodeControl(SCC),BugTracking,ProjectManagement,andTeamCollaborationplatform
• IntegratedwithVisualStudio• TFSintheCloud(Thismeansyoudon'tneedtohosttheserveryourself)
• Freeforupto5users www.visualstudio.com
TFS/VSTS
TFS/VSTS
Visual Studio
LabVIEWServer Clients
FileExplorer
Repository
Services
TeamExplorer
MSSCCIProvider
PowerTools
MS Excel
MS Project
Others
Web Access
SQLServer(TFVC)
TeamFoundationServer(TFS)isanApplicationLifecycleManagement(ALM)system
Git
Eclipse
RequirementsAnalysis
Design
Implementation
Testing
MaintenancePlanningTheSoftware
DevelopmentLifecycle(SDLC)
Deployment
TFS/VSTS
TFS/VSTSisanApplicationLifecycleManagement(ALM)System
SourceCodeControl(SCC)
BugTracking
ProjectManagement
CollaborationPlatformScrum
Agile
VisualStudio
SDLCManagement
MSExcelMSProject
VisualStudioTeamServiceswww.visualstudio.com
GettingStarted
10
SigninwithyourexistingMicrosoftAccount
Ifyoudon'thaveanexistingMicrosoftaccount(hotmail,...), youneedtocreateanewaccount
Enteryoure-mailaddresshere
VSTSAccount
11
CreateaVisualStudioTeamServicesAccount
CreateyourFirstProject
Selecttheseoptions
EntertheNameofyourProjecthere
ProjectStartPage(Dashboard)
AddorChangeWidgets
OntheDashboardyouseedifferentWidgets
AddProjectMembers
...
ClickheretoManageTeamMembers
ThisWindowpopsupwhereyoucanAddorRemoveTeamMembers
Iterations
CreateIterationsforthedifferentreleases,milestonesorsprints(internaland/orexternal);e.g.,Alpha,Beta,RC,RTM
OtherLinksWidgetontheDashboard
Areas
Thedifferent softwaremodulescouldbedividedintodifferentAreas
Example:
TheProductBacklogAlltheWork thatshouldbedoneintheProject
TheSprintBacklog
JustDragItemsfromtheProductBacklogtotheSprintBacklog
AlltheWork thatshouldbedone intheNextSprint(Iteration)
CreateTasks
TaskBoard
DragandDropTasks
VisualStudio
Hans-PetterHalvorsen,M.Sc.
How-TouseTFS/VSTSFeaturesinsideVisualStudio
UsingTFS/VSTSwithVisualStudio• ConnecttoTFS/VSTS• AddSourceCodetoTFS/VSTS• CheckIn/CheckOut• TeamExplorer• SourceControlExplorer
OpeninVisualStudio
Signin
TFS/VSTSinVisualStudio
25
TeamExplorer+SourceControlExplorer
CreatelocalFolderonyourHarddriveCreatealocalFolderonyourharddrivewhereyouwanttostoreyourfiles(Documents,CodeFiles,etc.)
Note!ThisisjustanExample.
WorkspaceMapping
CreateaFolderStructure
Right-clickandselect“NewFolder”
FolderStructureExample
Upload/CheckInChangestotheServer
WhenyouareFinishedyouneedtoUpload/CheckInChangestotheServer(VisualStudioOnline).TheFoldersyoucreatedshould thenbevisibletotheotherMembersonyourTeam
TheFoldersarenowavailibleontheServer
32
AddSourceCode
CheckIn
AddCodetoSourceControlCreateaNewProject,e.g.WindowsDesktop
MakesuretoSelectthisOption!!
GetLatestVersion
BeforeworkingonyourCode,youshouldalwaysgetthelatestversionfromtheServer
EditingyourCode
TheCodeyouareeditingarecheckedoutautomatically
CheckinyourCodewhenFinished
Butbeforeyoucheckinyourcodeyoushould firstgetthelatestversionfromtheserverandmakesureyourCodeCompilewithoutError!
WorkItems– NewBug
WorkItemsareusedtoAdd ItemstotheProductBacklog,ReportBugs,etc.LotsofdifferentWorkItemsTypesexists.YoucanevencreateNewWorkItemTypes
Queries• UsedtofindexistingWorkItems• YoumaycreatedifferentQueriestomakeiteasytofindtheWork
Itemsyouneed• Queriesmaybepersonalorvisibleforeverybodyintheproject
(TeamQueries)
40
Hans-PetterHalvorsen,M.Sc.
UniversityCollegeofSoutheastNorwaywww.usn.no
E-mail:hans.p.halvorsen@hit.noBlog:http://home.hit.no/~hansha/
Recommended