Export (0) Print
Expand All

MSTest Class

Represents the activity that runs tests using MSTest.

System.Object
  System.Activities.Activity
    Microsoft.TeamFoundation.Build.Workflow.Activities.MSTest

Namespace:  Microsoft.TeamFoundation.Build.Workflow.Activities
Assembly:  Microsoft.TeamFoundation.Build.Workflow (in Microsoft.TeamFoundation.Build.Workflow.dll)

[BuildCategoryAttribute]
[ActivityTrackingAttribute(ActivityTrackingOption.ActivityOnly)]
[ToolboxBitmapAttribute(typeof(TeamBuildBaseActivityDesigner), "DefaultBuildIcon.png")]
public sealed class MSTest : Activity

The MSTest type exposes the following members.

  NameDescription
Public methodMSTestInitializes a new instance of the MSTest class.
Top

  NameDescription
Protected propertyCacheIdGets the identifier of the cache that is unique within the scope of the workflow definition. (Inherited from Activity.)
Public propertyCategoryGets or sets the category by which to filter tests.
Public propertyCommandLineArgumentsGets or sets a string of command line arguments to pass to MSTest.exe.
Public propertyDisplayNameGets or sets an optional friendly name that is used for debugging, validation, exception handling, and tracking. (Inherited from Activity.)
Public propertyFlavorGets or sets the flavor of the build against which to publish test results.
Public propertyIdGets an identifier that is unique in the scope of the workflow definition. (Inherited from Activity.)
Public propertyMaxPriorityGets or sets an integer representing the maximum priority of tests to run.
Public propertyMinPriorityGets or sets an integer representing the minimum priority of tests to run.
Public propertyPathToResultsFilesRootGets or sets the root of the path to the directory on the build agent where MSTest will put the result files (.trx files).
Public propertyPlatformGets or sets the platform of the build against which to publish test results.
Public propertyPublishGets or sets a flag indicating whether to publish test results.
Public propertyRunTitle
Public propertySearchPathRootGets or sets the root path for search operations.
Public propertyTestConfigIdGets or sets the ID of an existing test management configuration to associate with the published run.
Public propertyTestConfigNameGets or sets the name of an existing test management configuration to associate with the published run.
Public propertyTestContainersGets or sets an enumerable collection of strings identifying the test containers that contain the tests to run.
Public propertyTestListsGets or sets an enumerable collection of strings identifying the test lists to run.
Public propertyTestMetadataGets or sets the string identifying the metadata file that contains the test lists to run.
Public propertyTestNamesGets or sets an enumerable collection of the test names to run.
Public propertyTestSettingsGets or sets the path to a test run configuration settings file.
Public propertyToolPathGets or sets the path to the directory that contains the version of MSTest.exe to run.
Top

  NameDescription
Public methodEqualsDetermines whether the specified object is equal to the current object. (Inherited from Object.)
Public methodGetHashCodeServes as the default hash function. (Inherited from Object.)
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Public methodShouldSerializeDisplayNameIndicates whether the DisplayName property should be serialized. (Inherited from Activity.)
Public methodToStringReturns a String that contains the Id and DisplayName of the Activity. (Inherited from Activity.)
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.
Show:
© 2014 Microsoft