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.MSTestSpec
      Microsoft.TeamFoundation.Build.Workflow.Activities.TestAssemblySpec

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

Syntax

'Declaration
<SerializableAttribute> _
Public Class TestAssemblySpec _
    Inherits MSTestSpec
[SerializableAttribute]
public class TestAssemblySpec : MSTestSpec
[SerializableAttribute]
public ref class TestAssemblySpec : public MSTestSpec
[<SerializableAttribute>]
type TestAssemblySpec =  
    class 
        inherit MSTestSpec 
    end
public class TestAssemblySpec extends MSTestSpec

The TestAssemblySpec type exposes the following members.

Constructors

  Name Description
Public method TestAssemblySpec() Initializes a new instance of the TestAssemblySpec class.
Public method TestAssemblySpec(String) Initializes a new instance of the TestAssemblySpec class.

Top

Properties

  Name Description
Public property AssemblyFileSpec Gets or sets the path to the assembly file.
Public property CategoryFilter (Inherited from MSTestSpec.)
Public property FailBuildOnFailure Gets or sets a flag indicating whether to fail the entire build if this test fails. (Inherited from TestSpec.)
Public property HasCategoryFilter Returns true if CategoryFilter is set. (Inherited from MSTestSpec.)
Public property HasMaximumPriority Returns true if MaximumPriority > -1. (Inherited from MSTestSpec.)
Public property HasMinimumPriority Returns true if MinimumPriority > -1. (Inherited from MSTestSpec.)
Public property HasMSTestCommandLineArgs Returns true if MSTestCommandLineArgs is set. (Inherited from MSTestSpec.)
Public property HasTestSettingsFile Gets a flag indicating whether the TestSettingsFileName property is set.
Public property MaximumPriority (Inherited from MSTestSpec.)
Public property MinimumPriority (Inherited from MSTestSpec.)
Public property MSTestCommandLineArgs (Inherited from MSTestSpec.)
Public property RunName (Inherited from TestSpec.)
Public property TestSettingsFileName Gets or sets the test settings file name.

Top

Methods

  Name Description
Public method Equals Determines whether the specified object is equal to the current object. (Inherited from Object.)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method 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