我正在尝试在我的代码中调用 3 个 TestCategory 中的一个
测试类别是:-
[TestCategory("SystemOne"), TestCategory("FunctionalTest"), TestCategory("RegressionTest"), TestCategory("Sanity")
调用测试类别的VSTest
代码是:
"cmd.exe" "/c vstest.console.exe $automationDLL /Settings:$automationRunSetting /TestCaseFilter:TestCategory=Sanity /logger:trx"
该VSTest
代码仅TestCaseFilter:TestCategory=SystemOne
在即第一个TestCategory 时有效。我无法调用 Sanity TestCategory ieTestCaseFilter:TestCategory=Sanity
等等