Using Visual Studio 2010, is there a way to run all unit tests in a solution automatically after building the solution locally?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You could record a macro to do it. In the macro, you would run the build and then start the unit tests. Then you could just run the macro to do it all in one step. Check
Tools->Macrosfor more details.EDIT
You can also record keyboard shortcuts for the macros, and I think you can use existing key sequences, such as CTRL-SHIFT-B for build. So if you wanted to override the default behavior of CTRL-SHIFT-B, this would be one way.