Integrating with TeamCity using TMockRunner

To run using SmartRunner see here: Run Tests on TeamCity CI using SmartRunner

To integrate Typemock Isolator using a TMockRunner:

1. In TeamCity, click Add New Build Step.

2. In the Runner type drop-down list, select Command Line.

3. In the Custom script field, add the following command to run TMockRunner:

<location>/TMockRunner <location>/mstest.exe /testcontainer:"<location>/test.dll"

4. Fill in the rest of the fields as required.

5. Click Save.

Related topic: Running Tests with TMockRunner