是否可以通过NUnit.ConsoleRunner.3.9.0执行多个类别标签,

问题描述 投票:1回答:1
我可以成功执行单个测试类别标签(例如:--where "cat=sanity")。

但是,我需要通过NUnit.ConsoleRunner.3.9.0执行多个'cat'标签。

例如:同时显示--where "cat=sanity""cat=smoke"

我可以成功执行单个测试类别标签(例如:--where“ cat = sanity”)。但是,我需要通过NUnit.ConsoleRunner.3.9.0执行多个“ cat”标签。例如:类似--where“ cat = sanity” ...

nunit categories bdd specflow
1个回答
0
投票
例如,您可以使用'或'符号来进行此操作>

nunit3-console mytests.dll --where "cat=sanity || cat=smoke"

© www.soinside.com 2019 - 2024. All rights reserved.