如何防止在 Visual Studio 2012 中自动执行单元测试? [英] How to prevent automatic unit test execution in Visual Studio 2012?
本文介绍了如何防止在 Visual Studio 2012 中自动执行单元测试?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
每次我编译我的解决方案时,单元测试开始在后台运行,就像我在测试资源管理器中看到的那样.
Every time I compile my solution the unit-tests start to run in background as I see in the Test Explorer.
是否有任何配置可以防止 VS 这样做?
Is there any configuration to prevent VS from doing that?
推荐答案
禁用Run Tests after Build"设置:
来源:http://tfs.visualstudio.com/en-us/learn/run-a-unit-test-after-build-in-vs.aspx
这篇关于如何防止在 Visual Studio 2012 中自动执行单元测试?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文