chevron-thin-right chevron-thin-left brand cancel-circle search youtube-icon google-plus-icon linkedin-icon facebook-icon twitter-icon toolbox download check linkedin phone twitter-old google-plus facebook profile-male chat calendar profile-male
Welcome to Typemock Community! Here you can ask and receive answers from other community members. If you liked or disliked an answer or thread: react with an up- or downvote.
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 by cscmh99 (6.1k points)

1 Answer

0 votes

Hi, 

  • TMockRunner is in C:Program Files (x86)TypemockIsolator8.4BuildScriptsTMockRunner.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 by eli (5.7k 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.
...