Specflow,没有看到步骤定义的建议代码

发布于 2024-10-06 14:53:03 字数 182 浏览 0 评论 0原文

在编写功能/场景并运行测试后,我在输出中没有看到任何关于步骤定义的建议代码,就像大多数屏幕截图所建议的那样。

关于我所做的不同的事情有什么想法吗?

(编辑)我正在使用 NUnit 和 Resharper 来运行测试。我看到了基本的输出,但没有像我在屏幕截图中看到的那样清晰定义的列表。失败步骤下方列出了每个示例方法。

After writing a Feature / Scenarios and running a test, I do not see any suggested code for the step definitions in the output like most of the screen casts suggest.

Any ideas on what I'm doing differently?

(edit)I'm using NUnit and Resharper to run the Tests. I see basic output, but not a neatly defined list like I'm seeing in the screen casts. Each sample method is listed below the failing step.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

玩物 2024-10-13 14:53:03

如果您使用 NUnit GUI 测试运行程序,请务必单击“文本输出”选项卡。

If you are using the NUnit GUI test runner, be sure to click on the "Text Output" tab.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文