【问题标题】:SpecFlow feature tests are not added to the Visual Studio 2019 Test Explorer windowSpecFlow 功能测试未添加到 Visual Studio 2019 测试资源管理器窗口
【发布时间】:2020-08-26 09:02:22
【问题描述】:

我从 Nugget Package Specflow、Specflow.NUnit、Nunit 和 Nunit3TestAdapter 安装,并且我已经安装了 Visual Studio for Specflow 的扩展 NUnitTestAdapter,但是我在 TestExplorer 窗口中看不到测试,知道吗?

【问题讨论】:

    标签: testing nunit bdd specflow


    【解决方案1】:

    你需要:

    更多信息:Generating code behind files using MS Build。

    【讨论】:

      【解决方案2】:

      我尝试使用与 specflow 相同的版本安装 Nugget 包 SpecFlow.Tools.MsBuild.Generation,现在我可以在 TestExplorer 中看到测试,其他方式不适合我。

      【讨论】:

      • 嗨,欢迎来到 Stack Overflow!看起来您打算对 Greg 的答案发表评论,但已将其作为另一个答案发布。如果您希望 Greg 收到通知,请发表评论。
      猜你喜欢
      • 2016-06-10
      • 2015-08-14
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2020-06-03
      • 1970-01-01
      • 1970-01-01
      • 2019-05-12
      相关资源
      最近更新 更多