Run NUnit on a group of assemblies.
The following tables list the members exposed by NUnit.
Public Constructors
Public Fields
Name | Description | |
---|---|---|
DEFAULT_NUNIT_DIRECTORY | The default relative path of the NUnit installation. The value is . This field is constant and read-only. |
Public Properties
Name | Description | |
---|---|---|
Assemblies | Gets or sets the assemblies. | |
BuildEngine | Gets or sets the instance of the |
|
DisableShadowCopy | Determines whether assemblies are copied to a shadow folder during testing. | |
ErrorOutputFile | The file to receive test error details. | |
ExcludeCategory | Gets or sets the categories to exclude. | |
ExitCode | Gets the returned exit code of the executable file. (inherited from ToolTask) | |
Fixture | Gets or sets the fixture. | |
HostObject | Gets or sets the host object associated with the task. (inherited from Task) | |
IncludeCategory | Gets or sets the categories to include. | |
Log | Gets an instance of a |
|
OutputXmlFile | Gets or sets the output XML file. | |
ProjectConfiguration | The project configuration to run. | |
TestInNewThread | Allows tests to be run in a new thread, allowing you to take advantage of ApartmentState and ThreadPriority settings in the config file. | |
Timeout | Gets or sets the amount of time after which the task executable is terminated. (inherited from ToolTask) | |
ToolPath | Gets or sets the path of the executable file to run. (inherited from ToolTask) | |
WorkingDirectory | Gets or sets the working directory. | |
XsltTransformFile | Gets or sets the XSLT transform file. |
Protected Properties
Name | Description | |
---|---|---|
EnvironmentOverride | Gets the override value of the PATH environment variable. (inherited from ToolTask) | |
HelpKeywordPrefix | Gets or sets the prefix used to compose Help keywords from resource names. (inherited from Task) | |
ResponseFileEncoding | Gets the |
|
StandardErrorEncoding | Gets the |
|
StandardErrorLoggingImportance | Gets the |
|
StandardOutputEncoding | Gets the |
|
StandardOutputLoggingImportance | Overidden. Gets the |
|
TaskResources | Gets or sets the culture-specific resources associated with the task. (inherited from Task) | |
ToolName | Overidden. Gets the name of the executable file to run. |
Public Methods
Name | Description | |
---|---|---|
Equals | Determines whether the specified |
|
Execute | Runs the exectuable file with the specified task parameters. (inherited from ToolTask) | |
GetHashCode | Serves as a hash function for a particular type. |
|
GetType | Gets the |
|
ToString | Returns a |
Protected Methods
Name | Description | |
---|---|---|
CallHostObjectToExecute | Calls the host object to perform the work of the task. (inherited from ToolTask) | |
ExecuteTool | Creates a temporoary response (.rsp) file and runs the executable file. (inherited from ToolTask) | |
Finalize | Allows an |
|
GenerateCommandLineCommands | Overidden. Returns a string value containing the command line arguments to pass directly to the executable file. | |
GenerateFullPathToTool | Overidden. Returns the fully qualified path to the executable file. | |
GenerateResponseFileCommands | Returns a string value containing the command line arguments to add to the response (.rsp) file before running the executable file. (inherited from ToolTask) | |
GetResponseFileSwitch | Returns the command line switch used by the executable file to specifiy a response (.rsp) file. (inherited from ToolTask) | |
GetWorkingDirectory | Overidden. Returns the directory in which to run the executable file. | |
HandleTaskExecutionErrors | Handles execution errors raised by the executable file. (inherited from ToolTask) | |
InitializeHostObject | Initializes the host object of the task. (inherited from ToolTask) | |
LogEventsFromTextOutput | (inherited from ToolTask) | |
LogPathToTool | Logs the tool name and path to all registered loggers. (inherited from ToolTask) | |
LogToolCommand | Overidden. Logs the starting point of the run to all registered loggers. | |
MemberwiseClone | Creates a shallow copy of the current |
|
SkipTaskExecution | Indicates whether task execution should be skipped. (inherited from ToolTask) | |
ValidateParameters | Indicates whether all task paratmeters are valid. (inherited from ToolTask) |
See Also
Documentation version 1.0.0.0.