...
The NUnit action is a member of the Unit Testing category.
...
NUnit
...
Properties
Name
The name that will be used to identify this action. Note that Name is auto-populated with the file names that are entered in the Files property.
...
The output file must end in .xml. If it does not then .xml will be appended to the end of the output file.
Run tests in separate thread
With this checked NUnit will create a separate thread for running the tests.
Project Configuration
When Project Configuration has a value it will run the NUnit tests from either a Visual Studio or NUnit project rather then .dlls. This value tells NUnit which configuration should be used running the project (ie. Debug, Release, etc). This property must be given a value when you are running NUnit against projects.
...
Specify which version of the .NET framework should be used when running the NUnit action.
...
If any NUnit tests fail then the build will stop and will be marked as failed. This option only affects failed tests. Note that if a test is errored then the build is stopped and marked as errored, regardless of this option.
Using
The Using drop down is populated with any property collector whose namespace matches the pattern defined by the NUnit Action. The pattern for this action is ^NUnit.*
...
Alternatively, you can select the Custom option from the Using drop down list and specify a path in the resulting input field that will be displayed. Please read Why it's a good idea to use a property collector before using this option.
Install NUnit on agent using NuGet
Optionally run NuGet to install NUnit to the agent before running the action.
Continue with warning if any of the test assemblies are missing or invalid
If this is ticked, it continues with warning if any of the test assemblies are missing or invalid.
Options
Additional Command Line Options
Optional - Additional command line arguments which will be passed to NUnit.
Fail action if any tests fail
Tick this to cause the build to fail if any tests fail.
Fail action if any tests error
Tick this to cause the build to fail if an error occurred while running any test.
Fail action if any tests are inconclusive
Tick this to cause the build to fail if any tests are inconclusive.
Timeout (in seconds)
How long to wait for the action to finish running before timing out. Leaving this blank (or zero) will default to 86400 seconds (24 hours).
Treat failure as warning
Tick to continue build on failure marking the action with a warning status.
Ignore warnings
If this is ticked, any warnings logged will not mark the action with a warning status.
Environment
Multiple environment variables can be defined - one per line. These are set before the command line is run.
Log environment variables
If this is ticked, environment variable values are written to the build log.
Generate system environment variables
Tick this checkbox to set up a list of new environment variables prefixed with 'ContinuaCI.' for all current system expression objects and variables.
Mask sensitive variable values in system environment variables
Visible only if the 'Generate system environment variables' checkbox is ticked.
If this is ticked, the values of any variables marked as sensitive will be masked with **** when setting system environment variables. Clear this to expose the values.