Compile solution before unit tests are run

  • Thread starter Thread starter Guest
  • Start date Start date
Hello Dick,

In the solution properties you can specify the order you apps goint to build

D> How do you configure VS to compile your solution before running unit
D> tests?
D>
---
WBR,
Michael Nemtsev :: blog: http://spaces.msn.com/laflour

"At times one remains faithful to a cause only because its opponents do not
cease to be insipid." (c) Friedrich Nietzsche
 
....but that's not what I asked! I want to compile my solution before my unit
tests are run, i.e. from the "Test View" window select some tests and then
select "Run Selection". Doing so runs the selected tests but doesn't
recompile the solution. Therefore any changes that have been made since the
last compilation aren't included in the test. I'm sure this isn't the usual
behaviour. I would have thought most developers would iterate through a “run
test-change code-run test†cycle and therefore compiling before each test
would seam the sensible option. But can I find where to configure this? No.
 
Hi Richard,

The Test function and Build functions belong to different function group in
Visual Studio 2005, I am afraid there isn't such a configuration in VS IDE.
But I highly suggest you can submit this feedback to our product feedback
center, it will help us to improve our products due to the customer's
requirement:

http://lab.msdn.microsoft.com/productfeedback/default.aspx

Thanks for your understanding.

Best regards,

Gary Chang
Microsoft Online Community Support
==================================================
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.
 
Back
Top