NUnit Properties

TFS Build Extensions

Collapse imageExpand ImageCopy imageCopyHover image

The NUnit type exposes the following members.

Properties

  NameDescription
Public propertyAssemblies
The assemblies to process.
Public propertyConfiguration
Sets the Project configuration (e.g.: Debug) to load
Public propertyDomain
AppDomain Usage for tests. Supports None, Single, Multiple. The default is to use multiple domains if multiple assemblies are listed on the command line. Otherwise a single domain is used.
Public propertyErrorOutputFile
Sets the File to receive test error output
Public propertyErrors
Gets the Errors count
Public propertyExcludeCategory
Comma separated list of categories to exclude.
Public propertyFailures
Gets the Failures count
Public propertyFlavor
Which flavor to publish test results for (ex. Debug)
Public propertyFramework
Framework version to be used for tests
Public propertyIgnored
Gets the Ignored count
Public propertyIncludeCategory
Comma separated list of categories to include.
Public propertyInconclusive
Gets the Inconclusive count
Public propertyInvalid
Gets the Invalid count
Public propertyLabels
Label each test in stdOut. Default is false.
Public propertyNoShadow
Disable shadow copy when running in separate domain. Default is false.
Public propertyNoThread
Disable use of a separate thread for tests. Default is false.
Public propertyNotRun
Gets the NotRun count
Public propertyOutputFile
File to receive test output
Public propertyOutputXmlFile
Sets the OutputXmlFile name
Public propertyPlatform
Which platform to publish test results for (ex. Any CPU)
Public propertyProcess
Process model for tests. Supports Single, Separate, Multiple. Single is the Default
Public propertyPublishTestResults
Set to true to publish test results back to TFS
Public propertyRun
Name of the test case(s), fixture(s) or namespace(s) to run
Public propertySkipped
Gets the Skipped count
Public propertyTestTimeout
Set timeout for each test case in milliseconds
Public propertyTimeTaken
Gets the Time taken to run the tests
Public propertyToolPath
Gets or sets the ToolPath (defaults to %ProgramFiles%\Nunit {version}\bin\nunit-console[-86].exe
Public propertyTotal
Gets the Total count
Public propertyUse32Bit
Set to true to run nunit-console-x86.exe
Public propertyVersion
The version of NUnit to run. Default is 2.5.7

See Also