VS2010 负载测试和性能测试包含在运行所有测试中

发布于 2024-12-13 16:58:53 字数 293 浏览 6 评论 0原文

我有一个具有不同构建配置的 VS2010 解决方案。我一直在特定的构建配置中包含特定的单元测试项目,以便当您处理特定配置时,您只运行关联的单元测试项目。

这很好用。 (最后)

不过,该解决方案还有负载测试项目和性能测试项目。无论构建配置如何,也无论我已尽一切努力将它们从除常规调试配置之外的所有配置中删除,这两者都会显示在测试查看器中。

有谁知道有什么方法可以从给定构建配置的可运行测试列表中删除这些类型的项目...无论您相信与否...我不希望每次选择运行所有测试时都运行我的负载测试!

预先感谢您的任何帮助

I have a VS2010 solution with different build configurations. I have been including specific unit test projects in specific build configurations so that when you are working on a specific configuration you only run the associated unit test projects.

This works nicely. (finally)

However, the solution also has a load test project and a performance test project. Both of these show up in test viewer regardless of build configuration and regardless of the fact that I have done everything in my power to remove them from all but the general debug configuration.

Does anyone know of any way to remove these kinds of projects from the runnable test list for a given build configuration as ... believe it or not ... I do not want my load tests to run every time you select run all tests!

Thanks in advance for any assistance

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

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

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文