Welcome to Typemock Answers. Here you can ask and receive answers from other community members. And if you liked or disliked an answer or thread: react with an up- or downvote Enjoy!

Typemock/Teamcity integration questions

0 votes
Hi Support

I understand that there's 2 ways to install Isolator on a server (Manual/Auto)

As security policy reason, we can only use the manual way as we do not allow check-in any binary into repository.

 

According to the document onlne

(i.e. Integrating Typemock Isolator->Server-Side Integration->Integration with Build Servers->Integration with Teamcity)

 

it's suggesting to run as CommandLine->Custom script

I have a few questions about this.

1. may i know where's the location of TMockRunner ?

2. where's mstest ? as build server is not supposed to install Visual studio in it ?

3. Is that possible to use nunit in this case ?

4.  The recommanded script looks like can only run Typemock test from single dll. Is that possible to run mulitple dlls ?
asked Jun 2, 2016 by cscmh99 (340 points)

1 Answer

0 votes

Hi, 

  • TMockRunner is in C:\Program Files (x86)\Typemock\Isolator\8.4\BuildScripts\TMockRunner.exe
  • mstest/nunit are not distributed by Typemock, you will have to get them yourself either by installing or by nuget.
  • you can run multiple dll's, use the mstest/nunit command line. for example:
    nunit-console assembly1.dll assembly2.dll assembly3.dll
    with Typemock it will be
    TMockRunner nunit-console assembly1.dll assembly2.dll assembly3.dll
answered Jun 2, 2016 by eli (5,770 points)
Great one. I'm able to get it working.

One more question tho, is that possible to include the test result together with other nunit test and display properly on Teamcity with some coverage statistic ?
Looks like it only display test pass or failed message with a build failed only.
...