views:

14

answers:

1

I'm using Visual Studio 2010 along with Resharper 5.1.

Is it possible to run all unit tests in a specified (or all) project(s) on each build? That would be awsome.

Thanks

A: 

No, that's not what R# is for. It helps you in writing source code and boosts your productivity in many ways, but it's not a build tool.

To do what you have in mind, you need to modify your project files (which are actually MSBuild scripts).

Thomas

Thomas Weller
Well, I do not want to use R# as a build tool. I just want to set up a hook so that when Visual Studio launches a build, R# runs my tests.
alexn
I see. What I wanted to say is just that this happens in the context of build execution, and R# is not involved in this process.
Thomas Weller