【发布时间】:2020-12-08 16:09:28
【问题描述】:
我的项目有一些带有特定标签的 Nunit 测试,称为类别。
例如:32 位应用测试以x32 作为标记,64 位应用测试以x64 作为标记。
现在使用 vstest 任务我可以像这样运行一个类别的测试:
TestCategory=x32
当我想在同一个任务中运行多个类别时,我给了TestCategory=x32,x64,但它不起作用。任务失败,控制台中没有任何错误。
我什至尝试过
TestCategory=x32|x64: in this case only x64 tests are ran.
TestCategory=x32,x64: test task failed without any errors
知道如何提供多个类别吗?
【问题讨论】:
标签: azure-pipelines vstest vstest.console.exe azure-pipelines-tasks