TMockRunner Usage

TMockRunner is used to launch your programs with Typeock Isolator enabled.

Use TMockRunner.exe as follows:

TMockRunner.exe [-version] [-check] [-undeploy]
                     [-target <version>] [-first] [-loglevel 0-9] [-logpath <path>] [-link <profilername | none >] program [arguments...]

Parameter

Description

-version

Types Typemock Isolator version to console.
This argument cannot be used with other arguments.

-check

To stay up to date, check if a newer version of Typeock Isolator is available for download.
This argument cannot be used with other arguments.

-undeploy

Undeploy previously auto-deployed Typeock Isolator.

-target

This can be used to change the .NET version the program runs with. Possible values:

  • 2.0 
  • 3.0
  • 3.5
-first
Indicates that the code coverage is run before the test application.

-loglevel The verbose level of the log to create the values can be between 0-9.
-logpath Path to save log files (defaults to Typeock Isolator installation directory).
-link

Link a code-coverage tool with Typeock Isolator.
The profilername is the same name that appears in the Typemock Isolator Configurator.

program
Program to run with mocking.
arguments
List of arguments to pass to the program.
Examples 

Copyright © TypeMock Ltd. 2004-2010. All Rights Reserved.