MSBuild task to execute MSTest.exe.
Inheritance Hierarchy
System.Object
  Microsoft.TeamFoundation.Build.Tasks.Task
    Microsoft.TeamFoundation.Build.Tasks.WorkflowTask
      Microsoft.TeamFoundation.Build.Tasks.TestToolsTask
Namespace:  Microsoft.TeamFoundation.Build.Tasks
Assembly:  Microsoft.TeamFoundation.Build.ProcessComponents (in Microsoft.TeamFoundation.Build.ProcessComponents.dll)
Syntax
'Declaration
Public Class TestToolsTask _
    Inherits WorkflowTask
public class TestToolsTask : WorkflowTask
public ref class TestToolsTask : public WorkflowTask
type TestToolsTask =  
    class 
        inherit WorkflowTask 
    end
public class TestToolsTask extends WorkflowTask
The TestToolsTask type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
| .gif) | TestToolsTask | 
Top
Properties
| Name | Description | |
|---|---|---|
| .gif) | BuildAgentUri | Property that gives the Uri of the Build Agent (Inherited from WorkflowTask.) | 
| .gif) | BuildEngine | ITask implementation—BuildEngine property. (Inherited from Task.) | 
| .gif) | BuildFlavor | Flavor of the build against which test results should be published. | 
| .gif) | BuildUri | Property that gives the URI of the build for which this task is executing. Derived classes can override this property to make it required. (Inherited from Task.) | 
| .gif) | Category | |
| .gif) | ExitCode | |
| .gif) | Extensions | (Inherited from WorkflowTask.) | 
| .gif) | HostObject | ITask implementation—HostObject property. (Inherited from Task.) | 
| .gif) | MaxPriority | Specify the maximum priority for test execution. Only tests whose priority is less than or equal to this value will be executed. Specify -1 if you do not want to specify a maximum priority. | 
| .gif) | MetadataFile | The metadata file that points to the test lists to execute. | 
| .gif) | MinPriority | Specify the minimum priority for test execution. Only tests whose priority is greater than or equal to this value will be executed. Specify -1 if you do not want to specify a minimum priority. | 
| .gif) | PathToResultsFilesRoot | The root location where test results should be saved. | 
| .gif) | Platform | Platform of the build against which test results should be published. | 
| .gif) | Publish | Specify whether test results should be published. | 
| .gif) | PublishBuild | Builds identifier against which test results should be published. This was replaced with BuildUri. It is left here for backward compatibility. | 
| .gif) | PublishServer | The Team Foundation Server to which test results should be published This was replaced with TeamFoundationServerUrl. It is left here for backward compatibility. | 
| .gif) | RunConfigFile | The run configuration file that contains the settings to perform the run. | 
| .gif) | SearchPathRoot | The root location where tests can be found. | 
| .gif) | StandardErrorImportance | Obsolete. | 
| .gif) | StandardOutputImportance | |
| .gif) | TeamFoundationServerUrl | |
| .gif) | TeamProject | Team project against which test results should be published. | 
| .gif) | TestConfigId | Specify the ID of an existing test management configuration to associate with the published run. | 
| .gif) | TestConfigName | Specify the name of an existing test management configuration to associate with the published run. | 
| .gif) | TestContainers | The test containers to run. | 
| .gif) | TestLists | The test lists to run. | 
| .gif) | TestNames | The names of tests in a test list or test container to run. | 
| .gif) | Tfs | Lazy [init] property that gives access to the Team Foundation Server. (Inherited from Task.) | 
| .gif) | Timeout | |
| .gif) | ToolExe | |
| .gif) | ToolPath | 
Top
Methods
| Name | Description | |
|---|---|---|
| .gif) | Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | 
| .gif) | Execute | ITask implementation - Execute method. (Inherited from Task.) | 
| .gif) | Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | 
| .gif) | GetHashCode | Serves as the default hash function. (Inherited from Object.) | 
| .gif) | GetParameterLog | (Inherited from Task.) | 
| .gif) | GetType | Gets the Type of the current instance. (Inherited from Object.) | 
| .gif) | LogCustomEvent | Helper to log a custom event if the task is running within MSBuild. (Inherited from Task.) | 
| .gif) | LogError | Helper to log an error string if the task is running within MSBuild. (Inherited from Task.) | 
| .gif) | LogErrorEvent | Helper to log an error event if the task is running within MSBuild. (Inherited from Task.) | 
| .gif) | LogMessage(String) | Helper to log a message string if the task is running within MSBuild. (Inherited from Task.) | 
| .gif) | LogMessage(String, MessageImportance) | Helper to log a message string if the task is running within MSBuild. (Inherited from Task.) | 
| .gif) | LogMessageEvent | Helper to log a message event if the task is running within MSBuild. (Inherited from Task.) | 
| .gif) | LogWarning | Helper to log a warning string if the task is running within MSBuild. (Inherited from Task.) | 
| .gif) | LogWarningEvent | Helper to log a warning event if the task is running within MSBuild. (Inherited from Task.) | 
| .gif) | MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | 
| .gif) | ToString | Returns a string that represents the current object. (Inherited from Object.) | 
Top
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.