Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Running unit tests after local build with Visual Studio 2010

Using Visual Studio 2010, is there a way to run all unit tests in a solution automatically after building the solution locally?

like image 675
Rick D Avatar asked Oct 05 '10 16:10

Rick D


2 Answers

for anyone still reading this, use this visual studio extension:

http://visualstudiogallery.msdn.microsoft.com/c074d3c6-71e2-4628-9e7c-7690e706aef4

It does exactly what you want, i.e. run your tests after a local build. Failed tests will show up as a build error in your error window...

Why is this not out-of-the-box functionality @Microsoft? :)

like image 144
FrankyHollywood Avatar answered Oct 15 '22 22:10

FrankyHollywood


You could also try this addon: http://ox.no/software/continuoustesting

like image 24
slamidtfyn Avatar answered Oct 15 '22 22:10

slamidtfyn