How not to build before executing unit tests in Visual Studio 2010

后端 未结 3 1341
长发绾君心
长发绾君心 2021-02-12 03:33

Whenever I run unit tests, Visual Studio builds to make dlls and exes even when I modified nothing in code.

How can I make so that Visual Studio doesn\'t build when I d

3条回答
  •  不思量自难忘°
    2021-02-12 04:21

    What are you using to run your tests?

    If you are using VS try Re-sharper. The test runner has the ability to specify what to do straight from the test runner. It has settings for Automatic, Automatic (Whole Solution), Always Build, and Never Build. The automatic setting seems to work well. If you don't have re-sharper you should get it. Its awesome and can save you a ton of time.

提交回复
热议问题