TeamCity Cloud 2024.12 Help

MSpec

The MSpec build runner is designed specifically to run MSpec tests.

MSpec Settings

Option

Description

Path to MSpec.exe

A path to mspec.exe file.

.NET Runtime

From the Platform drop-down menu, select the desired execution mode on a x64 machine. Supported values are: Auto (MSIL) (default), x86 and x64. From the Version drop-down menu, 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 the .NET assemblies that should be excluded from the list of found assemblies to test.

Include specifications

Specify comma- or newline-separated list of specifications to be executed.

Exclude specifications

Specify comma- or newline-separated list of specifications to be excluded.

Additional commandline parameters

Enter additional commandline parameters for mspec.exe.

Code Coverage

Learn about Configuring .NET Code Coverage.

Last modified: 05 March 2021