简体   繁体   English

如何在Team Explorer 2013中从TFS服务器自动获取最新版本?

[英]How to automatically get latest version from TFS server in Team Explorer 2013?

We are using Team Explorer 2013 with TFS to share test scripts in our project. 我们正在使用带有TFS的Team Explorer 2013共享项目中的测试脚本。 But, we need all the latest scripts that have been updated before we run the test suite. 但是,在运行测试套件之前,我们需要所有已更新的最新脚本。

We are unable to find an option in Team Explorer 2013 as suggested in other threads for Visual Studio Development environment. 正如在其他有关Visual Studio开发环境的线程中所建议的那样,我们无法在Team Explorer 2013中找到一个选项。 How can this be achieved? 如何做到这一点?

Option 1: You can build the test scripts first, as TFS will get latest version on your build agent machine by default when you queue a build. 选项1:您可以首先构建测试脚本,因为当您排队构建时,TFS将默认在构建代理计算机上获取最新版本。

Option 2: Run tf get command to get latest version before you run the test suite. 选项2:在运行测试套件之前,运行tf get命令获取最新版本。

Get the latest version of all items in a workspace: 获取工作空间中所有项目的最新版本:

 c:\\workspace>tf get 

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM