NUnit 3.0控制台不能与"include"参数一起使用

Den*_*yba 4 nunit-3.0

在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控制台显示我这个错误).

我究竟做错了什么?

Den*_*yba 8

我挖了北斗,在某处发现现在没有--include参数!

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

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