How to prevent automatic unit test execution in Visual Studio 2012?

后端 未结 2 1856
悲&欢浪女
悲&欢浪女 2021-01-11 10:09

Every time I compile my solution the unit-tests start to run in background as I see in the Test Explorer.

Is there any configuration to prevent VS from doing that?

2条回答
  •  走了就别回头了
    2021-01-11 10:26

    Disable the "Run Tests after Build" setting:

    Run Tests after Build setting

    Source: http://tfs.visualstudio.com/en-us/learn/run-a-unit-test-after-build-in-vs.aspx

提交回复
热议问题