TeamCity
 
You are viewing the documentation for an earlier version of TeamCity.

TeamCity NUnit Test Launcher

Last modified: 20 April 2023

TeamCity uses its own NUnit tests launcher that can be used from the any runner. The tests are run according to the passed parameters and if the process is run inside TeamCity build agent environment, the results are reported to the TeamCity agent.

The property is available as system properties of the build system (NAnt, MSTest) teamcity.dotnet.nunitlauncher — full launcher application name To have this property as environment variable, please use 6.Properties and Environment Variables page to define build environment variable with value: %system.teamcity.dotnet.nunitlauncher%

The launcher supports the following command line options:

${teamcity.dotnet.nunitlauncher} <.NET Framework> <platform> <NUnit vers.> [/category-include:<list>] [/category-exclude:<list>] [/addin:<list>] <assemblies to test>