NUnit for NAnt Build Runner
TeamCity provides custom task implementation. TeamCity automatically replaces the original <nunit2>
task with its own task, so if your build script uses the nunit2
task, it will automatically work without any modifications to the build script. The following options are supported for TeamCity <nunit2>
task implementation:
Property name | Description |
---|---|
| Run all tests and fails if at least one test has failed. |
| Sets desired runtime execution mode for .NET 2.0 on x64 machines. Supported values are x86, x64 and ANY(default). |
| Specifies which version of the NUnit runner to use. The value could be the like NUnit-<version number> |
TeamCity NUnit test launcher will run tests in the .NET Framework, which is specified by NAnt target framework, i.e. on .NET Framework 1.1 or .NET Framework 2.0 runtime. TeamCity also supports test categories for <nunit2>
task.