When the build gets done and there are some failed unit tests are showing, I could set the build partially succeeded for VS 2010 based projects in TFS 2010 as setting the workflow condition,
if ExternalTestRunnerResult <> 0 And ExternalTestRunnerResult <> 128
then AB assign
BuildDetail.TestStatus = Microsoft.TeamFoundation.Build.Client.BuildPhaseStatus.Failed
However, I'm using the same build condition for VS2012 solution in TFS 2010 that the value of ExernalTestRunnerResult shows in unknown so that the buildDetail.TestStatus can't be set to partially succeeded any more.
Is there any work around or a different way to set the build partially succeeded whenever there is failed unit test?
The current TypeMock Isolator installed on the build server is 126.96.36.199