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

NUnit Addins Support

Last modified: 20 April 2023

NUnit addin is an extension that plug into NUnit core and changes the way it operates. Refer to the NUnit addins page for more information. This section covers description of NUnit addins support for:

NAnt Build Runner



To support NUnit addins for NAnt build runner you need to provide in your build script the teamcity.dotnet.nant.nunit2.addins property in the following format:

where <list> is the list of paths to NUnit addins separated by ';'.

For example:

TeamCity NUnit Console Launcher



To support NUnit addins for the console launcher you need to provide the '/addins:<list of addins separated with ; >' commandline option.

For example:

MSBuild



This section is applicable to NUnit versions prior to 3.0.

To support NUnit addins for the MSBuild runner, specify the Addins property for the NUnitTeamCity task with the following format:

where <list> is the list of addins separated by ';' or ','.

For example: