Error with specflow in visual studio 2012 with <unitTestProvider>

谁说我不能喝 提交于 2019-12-05 02:49:51
dspatil

Keep only one attribute as unitTestProvider name="SpecRun" or unitTestProvider name="NUnit" in app.config

This error is caused by two 'unitTestProviders' in app.config.

After I install-Package SpecRun.SpecFlow -Version 1.2.0,

I've got 2 entries unitTestProvider name="SpecRun" and unitTestProvider name="NUnit" in app.config, that coused the error.

It should be manually changed to combined one

 <unitTestProvider name="SpecRun+NUnit" />
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!