TeamCity 7.0 Help

MSpec

MSpec test runner is designed specifically to run MSpec tests. Note, that to be able to run tests using MSpec, you need to install it on at least one build agent.

MSpec Settings

Option

Description

Path to MSpec.exe

A path to mspec.exe file.

.NET Runtime

From the Platform drop-down select the desired execution mode on a x64 machine. Supported values are: Auto (MSIL) (default), x86 and x64. From the Version drop-down select the desired .NET Framework version.

Run tests from

Specify the .NET assemblies, where the MSpec tests to be run are stored.

Do not run tests from

Specify .NET assemblies that should excluded from the list of found assemblies to test.

Include specifications

Specify comma or new line separated list of specifications to be executed.

Exclude specifications

Specify comma or new line separated list of specifications to be excluded.

Additional commandline parameters

Enter an additional commandline parameters for mspec.exe.

Code Coverage

To learn about configuring code coverage options, please refer to the Configuring .NET Code Coverage page.

Last modified: 20 April 2023