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



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

我做错了什么?

我挖了铲斗,发现目前没有--include参数!

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

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

最新更新