内置的测试不会添加到Visual Studio的“测试资源管理器"窗口中 [英] Built tests are not added to the Visual Studio Test Explorer window

查看:122
本文介绍了内置的测试不会添加到Visual Studio的“测试资源管理器"窗口中的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

  1. 我为Visual Studio 2013设置了SpecFlow插件.
  2. 我创建了新的功能项并构建它.

结果:内置测试未显示在测试资源管理器"中.为什么?

Result: built test is not shown in the Test Explorer. Why?

我根据此视频

推荐答案

为了对其进行配置以生成MSTest测试,您需要将其添加到app.config:

in order to configure it to generate MSTest tests you need to add this to your app.config:

<specFlow>    
  <unitTestProvider name="MSTest"></unitTestProvider>
</specFlow>

这篇关于内置的测试不会添加到Visual Studio的“测试资源管理器"窗口中的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆