开发者

Specflow and generating the steps

I am trying to get hold of BDD using Specflow. One of the problems with Specflow is generating the steps. If I do not have step file then it will generate the s开发者_开发知识库teps in output window which I can add in the custom step file. But what happens if I edit the feature file? How can I re create the steps?


Even if you already have a step file, SpecFlow will detect lines in the feature file that do not have a matching step definition and will output generated code for those steps. And if you e.g. add a new scenario that uses only existing step definitions, you shouldn't need to touch the step file at all.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜