如何使 SpecFlow VS 自动完成遵循步骤范围?
有没有人有一种解决方案可以使 Visual Studio 中的 SpecFlow 自动完成功能理解功能或场景标记并根据步骤范围限制其选择列表?
Does any one have a solution to make the SpecFlow autocomplete in Visual Studio understand feature or scenario tagging and restrict its list of choices according to step scope?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
目前不支持此功能。
请给我发邮件至gaspar.nagy/gmail,也许我可以提供帮助。
This is not supported currently.
Drop me a mail to gaspar.nagy/gmail, maybe I can help somehow.
这不是真正的答案,但您不应该按功能来确定步骤范围。它违背了在所有功能中重用步骤的整个想法。您可能想要确定步骤范围的唯一原因是是否打算以不同方式对待它们(例如,手动与烟雾与性能)。
It's not a real answer, but you're not supposed to scope steps by feature. It goes against the entire idea of reusing steps throughout all your features. The only reason you might want to scope steps is if they are intended to be treated differently (e.g. manual versus smoke versus performance).