Run SpecFlow tests without Visual Studio

岁酱吖の 提交于 2019-12-05 01:17:01

Yes - there is a 'simple' way.

Since SpecFlow merely generates tests from the text in the .feature files you can use the command line runner of the tool of your choice.

SpecFlow also comes with a command line version SpecFlow.exe and you can chain them together to not only generate and run the tests but also produce a nice test report. Everything outside Visual Studio.

I've written about this here; http://www.marcusoft.net/2010/12/specflowexe-and-mstest.html in an easy step-by-step article.

Hope this was useful.

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