Macro - Workaround for VS 2005 unit testing build problem

Sondre has a nice workaround for a very annoying problem with VS 2005 Unit Tests (aka Team Test) - When you run unit tests, the "Build" action is not performed on the unit testing project by default, so you have to manually invoke the build - which you keep forgetting to do. Annoying! Sondre's workaround will run a build on the current project, then build every project with the word "Test" contained inside it after the build is done.

Here's a direct link to the actual macro, but you will find detailed instructions on how to use it in Sondre's post.

Published Sunday, December 10, 2006 2:13 AM by RoyOsherove

Comments

Tuesday, December 12, 2006 4:33 AM by Robbie Clutton

# re: Macro - Workaround for VS 2005 unit testing build problem

Sweet, this has caused a lot of pain in our project.