NUnit Members
From TFS Build Extensions
| TFS Build Extensions Help (v1.0.0.6) |
| NUnit Members |
| NUnit Class Constructors Properties See Also Send Feedback |
The NUnit type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
| NUnit |
Initializes a new instance of the NUnit class
|
Properties
| Name | Description | |
|---|---|---|
| Assemblies |
The assemblies to process.
| |
| Configuration |
Sets the Project configuration (e.g.: Debug) to load
| |
| Domain |
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.
| |
| ErrorOutputFile |
Sets the File to receive test error output
| |
| Errors |
Gets the Errors count
| |
| ExcludeCategory |
Comma separated list of categories to exclude.
| |
| Failures |
Gets the Failures count
| |
| Flavor |
Which flavor to publish test results for (ex. Debug)
| |
| Framework |
Framework version to be used for tests
| |
| Ignored |
Gets the Ignored count
| |
| IncludeCategory |
Comma separated list of categories to include.
| |
| Inconclusive |
Gets the Inconclusive count
| |
| Invalid |
Gets the Invalid count
| |
| Labels |
Label each test in stdOut. Default is false.
| |
| NoShadow |
Disable shadow copy when running in separate domain. Default is false.
| |
| NoThread |
Disable use of a separate thread for tests. Default is false.
| |
| NotRun |
Gets the NotRun count
| |
| OutputFile |
File to receive test output
| |
| OutputXmlFile |
Sets the OutputXmlFile name
| |
| Platform |
Which platform to publish test results for (ex. Any CPU)
| |
| Process |
Process model for tests. Supports Single, Separate, Multiple. Single is the Default
| |
| PublishTestResults |
Set to true to publish test results back to TFS
| |
| Run |
Name of the test case(s), fixture(s) or namespace(s) to run
| |
| Skipped |
Gets the Skipped count
| |
| TestTimeout |
Set timeout for each test case in milliseconds
| |
| TimeTaken |
Gets the Time taken to run the tests
| |
| ToolPath |
Gets or sets the ToolPath (defaults to %ProgramFiles%\Nunit {version}\bin\nunit-console[-86].exe
| |
| Total |
Gets the Total count
| |
| Use32Bit |
Set to true to run nunit-console-x86.exe
| |
| Version |
The version of NUnit to run. Default is 2.5.7
|