TestToolsTask Class

MSBuild task to execute MSTest.exe.

Namespace:  Microsoft.TeamFoundation.Build.Tasks
Assembly:  Microsoft.TeamFoundation.Build.ProcessComponents (in Microsoft.TeamFoundation.Build.ProcessComponents.dll)

public class TestToolsTask : WorkflowTask

The TestToolsTask type exposes the following members.

  NameDescription
Public methodTestToolsTask
Top

  NameDescription
Public propertyBuildAgentUriProperty that gives the Uri of the Build Agent (Inherited from WorkflowTask.)
Public propertyBuildEngineITask implementation—BuildEngine property. (Inherited from Task.)
Public propertyBuildFlavorFlavor of the build against which test results should be published.
Public propertyBuildUriProperty 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.)
Public propertyCategory
Public propertyExitCode
Protected propertyExtensions (Inherited from WorkflowTask.)
Public propertyHostObjectITask implementation—HostObject property. (Inherited from Task.)
Public propertyMaxPrioritySpecify 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.
Public propertyMetadataFileThe metadata file that points to the test lists to execute.
Public propertyMinPrioritySpecify 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.
Public propertyPathToResultsFilesRootThe root location where test results should be saved.
Public propertyPlatformPlatform of the build against which test results should be published.
Public propertyPublishSpecify whether test results should be published.
Public propertyPublishBuildBuilds identifier against which test results should be published. This was replaced with BuildUri. It is left here for backward compatibility.
Public propertyPublishServerThe Team Foundation Server to which test results should be published This was replaced with TeamFoundationServerUrl. It is left here for backward compatibility.
Public propertyRunConfigFileThe run configuration file that contains the settings to perform the run.
Public propertySearchPathRootThe root location where tests can be found.
Public propertyStandardErrorImportance Obsolete.
Public propertyStandardOutputImportance
Public propertyTeamFoundationServerUrl
Public propertyTeamProjectTeam project against which test results should be published.
Public propertyTestConfigIdSpecify the ID of an existing test management configuration to associate with the published run.
Public propertyTestConfigNameSpecify the name of an existing test management configuration to associate with the published run.
Public propertyTestContainersThe test containers to run.
Public propertyTestListsThe test lists to run.
Public propertyTestNamesThe names of tests in a test list or test container to run.
Protected propertyTfsLazy [init] property that gives access to the Team Foundation Server. (Inherited from Task.)
Public propertyTimeout
Public propertyToolExe
Public propertyToolPath
Top

  NameDescription
Public methodEqualsDetermines whether the specified object is equal to the current object. (Inherited from Object.)
Public methodExecuteITask implementation - Execute method. (Inherited from Task.)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public methodGetHashCodeServes as the default hash function. (Inherited from Object.)
Protected methodGetParameterLog (Inherited from Task.)
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Protected methodLogCustomEventHelper to log a custom event if the task is running within MSBuild. (Inherited from Task.)
Protected methodLogErrorHelper to log an error string if the task is running within MSBuild. (Inherited from Task.)
Protected methodLogErrorEventHelper to log an error event if the task is running within MSBuild. (Inherited from Task.)
Protected methodLogMessage(String)Helper to log a message string if the task is running within MSBuild. (Inherited from Task.)
Protected methodLogMessage(String, MessageImportance)Helper to log a message string if the task is running within MSBuild. (Inherited from Task.)
Protected methodLogMessageEventHelper to log a message event if the task is running within MSBuild. (Inherited from Task.)
Protected methodLogWarningHelper to log a warning string if the task is running within MSBuild. (Inherited from Task.)
Protected methodLogWarningEventHelper to log a warning event if the task is running within MSBuild. (Inherited from Task.)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object. (Inherited from Object.)
Public methodToStringReturns a string that represents the current object. (Inherited from Object.)
Top

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft