【问题标题】:Teamcity only running first MSTest - ignores the restTeamcity 仅运行第一个 MSTest - 忽略其余部分
【发布时间】:2019-11-27 04:29:42
【问题描述】:

我想在 Teamcity 中运行 Visual Studio 2019 测试。我已经按照下面的屏幕截图配置了一个步骤。 Teamcity 在“测试文件名”设置下运行测试 dll,但只运行第一个而忽略第二个。不管我把 dll 路径放在什么顺序,它总是只运行第一个。我还尝试在 dll 末尾添加逗号。我错过了什么吗?

【问题讨论】:

  • 你确定你使用换行符来换行并且路径是项目的相对路径。我会尝试在名称中使用通配符 (*)。这对我有用。
  • 我已经尝试过了,但仍然没有。我还使用文本框旁边的文件选择器图标来选择文件。

标签: visual-studio unit-testing teamcity


【解决方案1】:

看看这个 Understanding wildcards when specifying test assemblies for the MSTest runner in TeamCity 7

我猜

**\bin\*\*\*Test.dll
**\*\bin\*\*Test.dll

应该适合你。

【讨论】:

    猜你喜欢
    • 2010-10-31
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多