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

TeamCity NUnit Test Launcher

Last modified: 20 April 2023

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

You can pass the following command line options to the TeamCity NUnit Test Launcher:

Examples



The following examples assume that the teamcity.dotnet.nunitlauncher property is set as system property on the Parameters page of the Build Configuration.

Run tests from an assembly:

Run tests from an assembly with NUnit categories filter

Run tests from assemblies: