在最新版本的 SpecFlow 菜单项 "Run SpecFlow Scenario" 和 "Debug SpecFlow Scenario" 中被删除
In the latest release SpecFlow menu items "Run SpecFlow Scenario" and "Debug SpecFlow Scenario" are removed
https://specflow.org/2019/changes-to-the-specflow-visual-studio-extension/
如何在 VS2015 中开始调试?
编译脚本时,SpecFlow 会生成单元测试。你需要调试它们。脚本文件上的断点将起作用。
您可以使用 Visual Studio 中集成的测试资源管理器 (https://docs.microsoft.com/en-us/visualstudio/test/run-unit-tests-with-test-explorer?view=vs-2019)
https://specflow.org/2019/changes-to-the-specflow-visual-studio-extension/
如何在 VS2015 中开始调试?
编译脚本时,SpecFlow 会生成单元测试。你需要调试它们。脚本文件上的断点将起作用。
您可以使用 Visual Studio 中集成的测试资源管理器 (https://docs.microsoft.com/en-us/visualstudio/test/run-unit-tests-with-test-explorer?view=vs-2019)