NUnit3 Properties

MSBuild Extension Pack

NUnit3 Properties MSBuild Extension Pack Help 4.0.12.0

The NUnit3 type exposes the following members.

Properties

  Name Description
Public property Assemblies
Gets or sets the assemblies.
Public property Configuration
Sets the Project configuration (e.g.: Debug) to load
Public property Domain
DOMAIN isolation for test assemblies. Values: None, Single, Multiple. If not specified, defaults to Separate for a single assembly or Multiple for more than one.
Public property ErrorOutputFile
Sets the File to receive test error output
Public property Errors
Gets the Errors count
Public property ExcludeCategory
Comma separated list of categories to exclude.
Public property FailOnFailures
Set to true to fail the task if this.Failures > 0. Helps for batching purposes. Default is false.
Public property Failures
Gets the Failures count
Public property Framework
FRAMEWORK type/version to use for tests. Examples: mono, net-3.5, v4.0, 2.0, mono-4.0. If not specified, tests will run under the framework they are compiled with.
Public property Ignored
Gets the Ignored count
Public property IncludeCategory
Comma separated list of categories to include.
Public property Inconclusive
Gets the Inconclusive count
Public property Invalid
Gets the Invalid count
Public property Labels
Specify whether to write test case names to the output. Values: Off, On, All
Public property NoShadow
Disable shadow copy when running in separate domain. Default is false.
Public property NotRun
Gets the NotRun count
Public property OutputFile
File to receive test output
Public property OutputXmlFile
Sets the OutputXmlFile name
Public property Process
PROCESS isolation for test assemblies. Values: Single, Separate, Multiple. If not specified, defaults to Separate for a single assembly or Multiple for more than one.
Public property Skipped
Gets the Skipped count
Public property TeamCity
Turns on use of TeamCity service messages.
Public property Test
Name of the test case(s), fixture(s) or namespace(s) to run
Public property TestTimeout
Set timeout for each test case in milliseconds
Public property Total
Gets the Total count
Public property Use32Bit
Run tests in an x86 process on 64 bit systems.
Public property Version
The version of NUnit to run. Default is 3.0.5610
Public property WorkerThreads
Number of worker threads to be used in running tests. If not specified, defaults to 2 or the number of processors, whichever is greater.
Top
See Also

Reference