Visual Studio Online学习

 

目录

Visual Studio Online 是什么?    1

VSO能干什么    1

怎么用    2

登陆/注册,    2

代码库    7

连接VisualStudio    7

创建新项目    10

添加已有项目    11

提交代码    16

敏捷组合管理    22

持续集成:    25

测试    28

 

Visual Studio Online 是什么?

Visual Studio Online(VSO)是微软在2013\11\12 Visual Studio 2013一起发布的面向团队的云协作工具,支持多种开发工具(如Visual StudioEclipseXcode),支持多种开发语言(JavaPythonHTML5JavaScriptC# 等。

每个Visual Studio Online帐户都可支持5个免费Basic用户,超过5人按人头要收费。

VSO能干什么

Visual Studio Online 其实就是部署在云端的加强版的 Team Foundation Service,它提供了一个云端的团队开发平台,包括:

  • 代码存储库
  • 敏捷开发工具等
  • 持续集成
  • 测试和bug管理

     

怎么用

登陆/注册,

地址https://www.visualstudio.com/

点击免费试用

 

 

 

 

 

如果已经有微软账号请直接登陆,没有请点击"立即注册"获得微软账号

 

 

登陆上来以后,点击"立即创建免费账号",来创建项目

 

 

 

 

 

 

 

等待ing…

收到创建好的邮件了,点击邮件中的地址就可以进入到项目主页

 

输入必要的项目信息

Process template可以选择不同的敏捷工具模板

选择源码版本控制工具

项目创建成功后首次进入项目,那些帮助啥的可以看看

项目主页有User(用户管理),Rooms(聊天室,方便讨论项目),LoadTests(参考https://www.visualstudio.com/get-started/test/load-test-your-app-vs)等,这些不做详细介绍

项目用户管理

 

代码库

连接VisualStudio

微软帮助文档:https://www.visualstudio.com/get-started/code/share-your-code-in-tfvc-vs#workspace

 

个人总结:

打开VS(2013或者2015)

点击右上角的登陆按钮,输入刚刚注册的VSO账号登陆

登陆界面

选择Viewà Team Explorer

从右侧Team Explorer中点击如下图标按钮

 

选择账户

 

然后点击

选择好路径,点击Map&Get

 

Map成功

 

之后的就是和微软文档一样了,粘贴一下

Create a new app

If you already have an app that you want to add to version control, skip down to Add an existing app.

Now that you've added your app, you can skip down to snapshot your code.

Add an existing app

Move and open the solution
  1. Close the solution.
  2. Open the workspace folder that you created when you configured your workspace.

  3. Move the code you want to upload to the workspace folder.

  4. Open your solution in Visual Studio.

Add the solution to Visual Studio Online
  1. Open the solution explorer (Keyboard: Ctrl + Alt + L).
  2. Add your solution to version control.

  3. Check in the solution.

  4. Add a comment and check in.

  5. Open the source control explorer.

    Your solution is now in TFS.

Your whole team can work on the code now. All your changes are tracked in version control.

Snapshot (check in) your code

  1. When you edit code in Visual Studio, the changed file is automatically checked out. For example, Site.css is checked out after the border color has been changed to #ddd.

  2. Compare the modified file with the latest version in source control.

    You can see the difference between the two versions.

  3. Check in the changes.

    You can also check in from the code window, or the team explorer.

  4. If you're working on a task or fixing a bug that's tracked as a work item, add that work item to your pending changes. Source control will resolve the bug or close the task, and it'll link the changeset to the work item.

  5. Add a comment and check in.

  6. Open the source control explorer.

  7. View the history of the file you changed.

    All the changesets that include this file are listed.

敏捷管理

点击Work按钮

 

创建一个用户故事

一件用户通过系统完成他一个有价值的目标(买一罐饮料)的事。这样的过程就叫"用户案例(user case)"或者"用户故事(user story)"

 

点击+ 创建子项

 

 

 

支持鼠标拖拽,很方便

 

带小时评估功能


 

这些任务在VS里可以直接查看

 

可以在VS中无缝查看,编辑任务

 

 

持续集成:

在这里我只简单截图说明下

 

 

 

每次提交以后,都会

一旦出现bug,还可以自动创建bug任务

 

测试

代码中的单元测试在持续集成的时候自动执行,其它测试部分需要购买,没做深入研究。

单元测试根据配置会执行所有包含test的dll

 

 

负载测试请参考https://www.visualstudio.com/get-started/test/load-test-your-app-vs

转载于:https://www.cnblogs.com/wangshuming/p/4968216.html

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值