TestAssemblySpec Class
Contains all the MSTest settings related to a test assembly.
Inheritance Hierarchy
System.Object
Microsoft.TeamFoundation.Build.Workflow.Activities.TestSpec
Microsoft.TeamFoundation.Build.Workflow.Activities.TestAssemblySpec
Namespace: Microsoft.TeamFoundation.Build.Workflow.Activities
Assembly: Microsoft.TeamFoundation.Build.Workflow (in Microsoft.TeamFoundation.Build.Workflow.dll)
Syntax
'Déclaration
<SerializableAttribute> _
Public Class TestAssemblySpec _
Inherits TestSpec
[SerializableAttribute]
public class TestAssemblySpec : TestSpec
[SerializableAttribute]
public ref class TestAssemblySpec : public TestSpec
[<SerializableAttribute>]
type TestAssemblySpec =
class
inherit TestSpec
end
public class TestAssemblySpec extends TestSpec
The TestAssemblySpec type exposes the following members.
Constructors
Name | Description | |
---|---|---|
TestAssemblySpec() | Initializes a new instance of the TestAssemblySpec class. | |
TestAssemblySpec(String) | Initializes a new instance of the TestAssemblySpec class. |
Top
Properties
Name | Description | |
---|---|---|
AssemblyFileSpec | Gets or sets the path to the assembly file. | |
CategoryFilter | Gets or sets the category filter. (Inherited from TestSpec.) | |
FailBuildOnFailure | Gets or sets a flag indicating whether to fail the entire build if this test fails. (Inherited from TestSpec.) | |
HasCategoryFilter | Gets a flag indicating whether the CategoryFilter property is set. (Inherited from TestSpec.) | |
HasMaximumPriority | Gets a flag indicating whether the MaximumPriority property is set. (Inherited from TestSpec.) | |
HasMinimumPriority | Gets a flag indicating whether the MinimumPriority property is set. (Inherited from TestSpec.) | |
HasMSTestCommandLineArgs | Gets a flag indicating whether the MSTestCommandLineArgs property is set. (Inherited from TestSpec.) | |
HasTestSettingsFile | Gets a flag indicating whether the TestSettingsFileName property is set. | |
MaximumPriority | Gets or sets the maximum priority to run this test for. (Inherited from TestSpec.) | |
MinimumPriority | Gets or sets the minimum priority to run this test for. (Inherited from TestSpec.) | |
MSTestCommandLineArgs | Gets or sets a string of command line arguments for this test. (Inherited from TestSpec.) | |
TestSettingsFileName | Gets or sets the test settings file name. |
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 a hash function for a particular type. (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