Skip to end of metadata
Go to start of metadata

The MSpec Test Runner is designed specifically to run MSpec tests.

Icon

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.

Icon

If you have MSpec as an MSIL .NET 2.0/3.5 executable, TeamCity can enforce it to execute under any required runtime: x86 or x64, and .NET2.0 or .NET 4.0 runtime.

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 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 new line separated list of specifications to be excluded.

Additional commandline parameters

Enter additional commandline parameters for mspec.exe.

Code Coverage

Learn about configuring code coverage options.



See also:

Administrator's Guide: Configuring .NET Code Coverage

  • No labels