MSTestSpec Class
This class is the base class for all MSTest specifiers.
Inheritance Hierarchy
System.Object
Microsoft.TeamFoundation.Build.Workflow.Activities.TestSpec
Microsoft.TeamFoundation.Build.Workflow.Activities.MSTestSpec
Microsoft.TeamFoundation.Build.Workflow.Activities.TestAssemblySpec
Microsoft.TeamFoundation.Build.Workflow.Activities.TestMetadataFileSpec
Namespace: Microsoft.TeamFoundation.Build.Workflow.Activities
Assembly: Microsoft.TeamFoundation.Build.Workflow (in Microsoft.TeamFoundation.Build.Workflow.dll)
Syntax
'Declaration
<SerializableAttribute> _
Public MustInherit Class MSTestSpec _
Inherits TestSpec
[SerializableAttribute]
public abstract class MSTestSpec : TestSpec
[SerializableAttribute]
public ref class MSTestSpec abstract : public TestSpec
[<AbstractClass>]
[<SerializableAttribute>]
type MSTestSpec =
class
inherit TestSpec
end
public abstract class MSTestSpec extends TestSpec
The MSTestSpec type exposes the following members.
Constructors
Name | Description | |
---|---|---|
MSTestSpec | Default constructor. |
Top
Properties
Name | Description | |
---|---|---|
CategoryFilter | ||
FailBuildOnFailure | Gets or sets a flag indicating whether to fail the entire build if this test fails. (Inherited from TestSpec.) | |
HasCategoryFilter | Returns true if CategoryFilter is set. | |
HasMaximumPriority | Returns true if MaximumPriority > -1. | |
HasMinimumPriority | Returns true if MinimumPriority > -1. | |
HasMSTestCommandLineArgs | Returns true if MSTestCommandLineArgs is set. | |
MaximumPriority | ||
MinimumPriority | ||
MSTestCommandLineArgs | ||
RunName | (Inherited from TestSpec.) |
Top
Methods
Name | Description | |
---|---|---|
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
ToString | Gets a user-readable string describing the properties of this instance. (Inherited from TestSpec.) |
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.
See Also
Reference
Microsoft.TeamFoundation.Build.Workflow.Activities Namespace