views:

17

answers:

1

Hello everyone

When i do Build>Build Solution, i'd like VS to run the unit tests, without having to manually do it, because if the unit tests won't pass, then the project is not 'built'.

Is this possible ? How could i do that ?

Thanks :)

+2  A: 

See http://developer-in-test.blogspot.com/2009/08/configure-your-visual-studio-to-run.html

Stuart Dunkeld
this is almost it ! :) i am using MS unit tests so i just need to know what is the command for running all tests in the suite..
Maxime ARNSTAMM
something like MSTest /testcontainer:MyTestProject\bin\debug\MyProject.dll
Stuart Dunkeld