我这辈子都无法将 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/