Visual Studio 2005 Units Tests Preparation Time

Visual Studio 2005 Units Tests Preparation Time

am 19.10.2007 15:06:24 von usenet

I have a large .Net solution that includes several projects and a
large number of unit tests. I find that if I
1) Run my tests
2) Find a problem in a unit test
3) Set some breakpoints to help debug the problem
4) Attempt to run the unit test again from the test results screen
Then Visual Studio hangs for about a minute before the test begins

However if I make some changes and then start the unit test then it
recompiles the projects the unit test start in under ten seconds.

Therefore I have got into the habit of always making a change before I
run the unit tests, e.g. create a new blank line and then delete it.

Is there an option to always recompile the projects before starting a
unit test to prevent this hang time?