Execute SpecFlow specs (.feature files) without compilation

别来无恙 提交于 2019-12-03 14:10:38

You're talking about SpecFlow.exe ;)

Actually there's a few steps involved and I blogged about it using MsTest about a year ago.

The basic steps are:

  1. Use SpecFlow.exe (with switch generateall) to generate tests from the .feature files.
  2. Run tests and create a report. In my example i'm using MsTest but NUnit will work just fine.
  3. Use SpecFlow.exe again (with switch mstestexecutionreport in my case) to generate the report.

You are more than welcome to use my batfiles if you want

Good luck

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