tags:

views:

17

answers:

1

Is there a sample script that runs tests in a solution from msbuild script. I am using MSBuild 4.4 and visual studio 2010. Thanks.

A: 

Unit tests are run with the MSTest.exe utility. You could execute it from MSBuild.

Darin Dimitrov
i run that command it showed that the 2 tests i have run and passed but before that success line threw this error: Could not load file or assembly 'Microsoft.VisualStudio.Qual ityTools.Tips.WebLoadTest.Tip, Version=10.0.0.0
is there a command to add code coverage from a test?