【问题标题】:TFS - add all test cases from test suiteTFS - 从测试套件中添加所有测试用例
【发布时间】:2018-04-07 13:46:26
【问题描述】:

我在将测试用例从一个测试套件复制到另一个测试套件时遇到问题。我想将特定测试套件中的所有测试用例复制到另一个(或将包含所有测试用例的测试套件从一个测试计划复制到另一个)。我尝试通过查询来做到这一点,但现在没有运气。

【问题讨论】:

    标签: testing tfs


    【解决方案1】:

    您可以尝试 MTM,也可以使用 Tcm.exe 命令复制测试套件。它专为跨项目复制而设计,但也可以在同一个项目中使用。

    要跨项目复制测试用例或测试套件,您可以通过命令行 (tcm.exe) 使用“克隆”。

    以下示例供您参考:

    Run cmd
    cd C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE
    tcm suites /clone /collection:http://server:8080/tfs/CollectionLC /teamproject:0418Scrum /suiteid:271 /destinationteamproject:TFVC-Scrum /destinationsuiteid:274 /overridefield:"System.IterationPath"="TFVC-Scrum\Sprint 2" /overridefield:"System.AreaPath"=TFVC-Scrum
    

    在此线程中参考我的答案:TFS Test Plans Merge from different Projects

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2017-11-09
      • 1970-01-01
      • 2016-05-06
      • 2020-01-28
      • 2012-09-03
      • 2023-03-31
      相关资源
      最近更新 更多