visual-studio-2010 - NUnit 未指定为 SpecFlow 的测试运行器

标签 visual-studio-2010 nunit specflow

我这辈子都无法将 SpecFlow 配置为使用 NUnit 作为测试运行器。 NUnit 未在“工具”>“选项”>“SpecFlow 测试运行器”下拉列表中列出,并且“自动”设置找不到 NUnit。

我已经多次尝试重新安装 NUnit 和 SpecFlow。尝试安装 SpecFlow 1.8.1 和 1.9 无济于事。尝试使用 app.config。我什至尝试过重新安装 Visual Studio 2010。

我只想让 SpecFlow 使用 NUnit (2.6.1)。谁能帮忙?

最佳答案

Visual Studio->工具->扩展和更新->在线->搜索“测试适配器”->安装。

http://visualstudiogallery.msdn.microsoft.com/6ab922d0-21c0-4f06-ab5f-4ecd1fe7175d

迟到总比不到好。

关于visual-studio-2010 - NUnit 未指定为 SpecFlow 的测试运行器,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/12028820/

相关文章:

asp.net - 如何在 Asp.net 中上传照片并保存其纵横比

c# - Linq:数据表到列表。 Actor 阵容问题

c# - 在 Visual Studio 中将控件绑定(bind)到 DataGrid 会生成对象引用错误

unit-testing - 如何保证 FsCheck 的重现性

c# - 如何测试单击按钮是否使用 NUnitForms 打开新表单?

c# - Webdriver,在生成报告之前使用 "AfterScenario"重新运行失败的测试

python - Django 与 IronPython 和 VS2010?

c# - 我可以配置 NUnit 以便 Debug.Fail 在我运行测试时不显示消息框吗?

c# - MsTest.exe 未找到任何测试

visual-studio-2015 - 使用 SpecFlow for Visual Studio 2015 的事件符号突出显示不起作用