tfs - 将测试用例连同参数和附件从 TFS 迁移到 VSTS

标签 tfs azure-devops

我们计划将测试用例、构建定义和代码从 TFS 转移到 VSTS。但似乎我们无法将 MTM 中存在的测试用例中的参数和附件移动到 VSTS。我们有办法完成这项工作吗?

最佳答案

很难将测试用例从 TFS 单独迁移到带有参数和附件的 VSTS。参见 Bulk Migrate Work Item Comments, Links and Attachments

Test Cases

Test plans/suites/cases turned out to be particularly difficult to migrate. We couldn’t find any tooling that would be able to do this for us. It’s possible to manage tests using the TFS SDK on-premise, and there is a restful API for VSTS, so a custom solution could be produced where time is permitting.

Unfortunately, Excel was out of the question, as test plans and suites cannot be queried as usual and test cases when published were not possible to be linked to a test suite or plan. Source Here

但是,您可以尝试使用 VSTS Sync Migrator按照本文中提到的步骤操作工具: TFS 2017 Migration To VSTS with VSTS Sync Migrator

您也可以试试这个工具:OpsHub Visual Studio Online Migration Utility

如果你想将整个项目从 TFS 迁移到 VSTS,那么你可以使用官方 TfsMigrator tool并按照指南进行操作。

注意: 您需要先将 TFS 升级到支持的版本。

您还可以引用以下文章进行迁移:

关于tfs - 将测试用例连同参数和附件从 TFS 迁移到 VSTS,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/47432970/

相关文章:

tfs - VS.2017 无法将项目添加到 TFS 源代码管理

tfs - 假设他们会创建新的,删除构建代理工作区

powershell - 在 VSTS 中发布失败时向所有开发人员发送通知(上一个 VSO)

azure - Azure Devops 中的列出容量 API 不返回已离开组织的成员的容量

azure-devops - Azure 开发运营 : Merging two projects together

tfs - 如何使用 TFS 为多个版本正确分支

visual-studio - 禁用解决方案不受源代码控制的警告?

c# - 无法将 TFS 项目映射到 Visual Studio 2013 中的网络驱动器

angular - 使用 Yarn 部署构建时出错 - Angular 应用程序

ant - TFS 不会从相对路径发布 ANT 测试结果