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?
You need to close the Test Explorer Window to prevent automatic running.
Stop tests Use the following options on the Run toolbar of the Test Runner tab: Click. or press Ctrl+F2 to terminate the process immediately.
To generate unit tests, your types must be public. Open your solution in Visual Studio and then open the class file that has methods you want to test. Right-click on a method and choose Run IntelliTest to generate unit tests for the code in your method. IntelliTest runs your code many times with different inputs.
Disable the "Run Tests after Build" setting:
Source: http://tfs.visualstudio.com/en-us/learn/run-a-unit-test-after-build-in-vs.aspx
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With