nunit3 如何在命令行中包含测试类别 [英] nunit3 how to include test category in command line

查看:53
本文介绍了nunit3 如何在命令行中包含测试类别的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

nunit3-console TestData.dll /include:SmokeTests

但是使用 nunit v3 我回来了:

but with nunit v3 I get back:

Invalid argument: /include:SmokeTests

我尝试在这里检查命令行参数http://nunit.org/index.php?p=consoleCommandLine&r=3.0

I try to check command line parameters here http://nunit.org/index.php?p=consoleCommandLine&r=3.0

但页面不存在.有人知道有什么变化吗?

but page does not exist. Anyone know what has changed?

推荐答案

所以如果有人在 NUNIT3 中搜索如何做到这一点:

So if anyone searching how to do this in NUNIT3:

 --where "cat == SmokeTests" --noresult

由@omer727 链接提供帮助!

helped by @omer727 link!

这篇关于nunit3 如何在命令行中包含测试类别的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆