TypeMock / MSTest

I'm using an MSBuild script to run our MSTests using TypeMock. It executes the tests, but I don't get the realtime updates or test reports at the end of the process like I get when I just use straight-up MSTest. How can I get that same experience when using TypeMock?

<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="RunTests" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">     <UsingTask TaskName="NCover.MSBuildTasks.NCover" AssemblyFile="C:\Program Files\NCover\Build Task Plugins\NCover.MSBuildTasks.dll" />     <Import Project ="C:\Program Files (x86)\Typemock\Isolator\6.1\TypeMock.MSBuild.Tasks" />     <PropertyGroup>          <MSTest>"C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE\MSTest.exe"</MSTest>         </PropertyGroup>     <Target Name ="RunTests">          <TypeMockStart Target="3.5" />          <Exec ContinueOnError="true"  Command='$(MSTest) /noisolation "/testcontainer:C:\continuousintegration\root\CTM_VPOFFICEClassLibraries\CTM.VPOffice\CTM.VPOffice Unit Testing\bin\Release\CTM.VPOffice Unit Testing.dll"' />          <TypeMockStop />     </Target> </Project>

Comment actions Permalink

The same is when you use Command line step and run custom script tmockrunner.exe mstest.exe /testcontainer:BinaryWithTests.dll
Step is executed, in build log there are a list of tests executed but no test summary like in mstest step.
It seems that MSTest report watcher not running after step execution.

Comment actions Permalink


Please sorry for delays in answering.

There is a documentation page for MSTest here:

Please find in the doc on how to publish .trx report file into TeamCity to let it report contents:


Please sign in to leave a comment.