TestSpec Class

Represents a test specifier.

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

public abstract class TestSpec

The TestSpec type exposes the following members.

Protected methodTestSpecInitializes a new instance of the TestSpec class.

Public propertyCategoryFilterGets or sets the category filter.
Public propertyFailBuildOnFailureGets or sets a flag indicating whether to fail the entire build if this test fails.
Public propertyHasCategoryFilterGets a flag indicating whether the CategoryFilter property is set.
Public propertyHasMaximumPriorityGets a flag indicating whether the MaximumPriority property is set.
Public propertyHasMinimumPriorityGets a flag indicating whether the MinimumPriority property is set.
Public propertyHasMSTestCommandLineArgsGets a flag indicating whether the MSTestCommandLineArgs property is set.
Public propertyMaximumPriorityGets or sets the maximum priority to run this test for.
Public propertyMinimumPriorityGets or sets the minimum priority to run this test for.
Public propertyMSTestCommandLineArgsGets or sets a string of command line arguments for this test.

Public methodEqualsDetermines whether the specified Object is equal to the current Object. (Inherited from Object.)
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 a hash function for a particular type. (Inherited from Object.)
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object. (Inherited from Object.)
Public methodToStringGets a user-readable string describing the properties of this instance. (Overrides Object.ToString().)

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Community Additions