The NUnit type exposes the following members.
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
|