NUnit

Skip to end of metadata
Go to start of metadata
You are viewing documentation of TeamCity 7.x, which is not the most recently released version of TeamCity. Please refer to the listing to choose another version.
Search

Searching TeamCity 7.x Documentation

Table of Contents

NUnit build runner is intended to run NUnit tests right on the TeamCity server. However, there are other ways to report NUnit tests results to TeamCity, please refer to the NUnit Support page for the details.

Supported NUnit versions: 2.2.10, 2.4.1, 2.4.6, 2.4.7, 2.4.8, 2.5.0, 2.5.2, 2.5.3, 2.5.4, 2.5.5, 2.5.6, 2.5.7, 2.5.8, 2.5.9, 2.5.10, 2.6.0, 2.6.1, 2.6.2.

NUnit Test Settings

NUnit runner Select NUnit version to be used to run the tests.
.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 NUnit tests to be run are stored. Multiple entries are comma-separated; usage of MSBuild wildcards is enabled.
In the following example, TeamCity will search for the tests assemblies in all project directories and run these tests.
All these wildcards are specified relative to path that contains the solution file.
Do not run tests from Specify .NET assemblies that should excluded from the list of found assemblies to test. Multiple entries are comma-separated; usage of MSBuild wildcards is enabled.
In the following example, TeamCity will omit tests specified in this directory.
All these wildcards are specified relative to path that contains the solution file.
NUnit categories include Specify NUnit categories of tests that should be run. Multiple entries are comma-separated.
NUnit categories exclude Specify NUnit categories that should be excluded from the tests to be run. Multiple entries are comma-separated.
Run a process per assembly Select this option, if you want to run each assembly in a new process.
Reduce test failure feedback time Use this option to instruct TeamCity to run some tests before others.

Code Coverage

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



See also:

Labels:

Enter labels to add to this page:
Wait Image 
Looking for a label? Just start typing.