Specflow不能与Nunit 3.0一起使用,但使用NUnit 2.6 [英] Specflow not working with Nunit 3.0 but working with NUnit 2.6

查看:89
本文介绍了Specflow不能与Nunit 3.0一起使用,但使用NUnit 2.6的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述





我正在为POC项目使用BDD的specflow。我已经为Specflow,Specflow.NUnit,NUnitTestAdapter和 NUnit(版本2.6)安装了nuget包。我似乎很高兴,因为我得到了预期的结果。



几天后,我正在开发一个新项目,我安装了上面提到的所有nuget包。一切都恢复正常。但是,当我将Nunit从2.6版升级到最新的稳定版3.0 时,我在测试资源管理器中未发现测试

我可以继续使用旧版本,但我仍然想使用最新的稳定版本



我不知道是做什么步骤的我需要采取让我的规格运行,并在测试资源管理器中查看我的所有测试。



任何帮助都将不胜感激。



谢谢。

Hi,

I am using specflow for BDD for a POC project. I had installed the nuget packages for Specflow ,Specflow.NUnit, NUnitTestAdapter and NUnit (version 2.6). I seemed to be happy since i was getting the expected result.

After a few days, I am working on a new project and i installed all the nuget packages mentioned above. Everything worked fine again. However, when i upgraded Nunit from version 2.6 to the latest stable version 3.0, my tests were not discovered in the Test explorer.
I can continue with the older version but still i would like to go with the latest stable version

I am not sure what steps do i need to take to get my specs running and see all my tests in the Test Explorer.

Any help would be appreciated.

Thanks.

推荐答案

为什么不向NUnit团队提出你的问题呢?



http://www.nunit.org/index.php?p=contactUs [ ^ ]



似乎还有3.0.1版本。也许你遇到的问题已得到修复。
Why not address your question to the NUnit team?

http://www.nunit.org/index.php?p=contactUs[^]

There also seem to be a 3.0.1 release. Maybe problem you experience has been fixed.


这篇关于Specflow不能与Nunit 3.0一起使用,但使用NUnit 2.6的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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