NUnit 3.0 控制台不适用于 "include" 参数

NUnit 3.0 console doesn't work with "include" parameter

在 NUnit 3.0 之前,我使用下一个参数来包含要执行的测试类别:/include:"name"

现在在 NUnit 3.0 中,书写方式似乎有所不同 - 根据此:https://github.com/nunit/dev/wiki/Command-Line-Options

我必须使用类似的东西:-include=name 但在我看来正确的选项应该是 --include=name,因为我以相同的方式编写其他参数,例如 --workers,并且它们可以工作。

问题是当我使用 --include 参数时出现错误:"Invalid argument: --include=Selenium"(Jenkins 控制台显示此错误)。

我做错了什么?

我挖了 dipper 并在某个地方发现现在没有 --include 参数!

我们应该使用的是--where "cat==name"

cat = 类别。如果我们想考虑优先级,我们会做这样的事情:--where "cat==name && Priority==High"