Поделиться через


AgileTestPlatformSpec Class

This class encapsulates all the Agile Test Runner settings related to a Test Assembly.

Inheritance Hierarchy

System.Object
  Microsoft.TeamFoundation.Build.Workflow.Activities.TestSpec
    Microsoft.TeamFoundation.Build.Workflow.Activities.AgileTestPlatformSpec

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

Syntax

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

The AgileTestPlatformSpec type exposes the following members.

Constructors

  Name Description
Public method AgileTestPlatformSpec() Default constructor.
Public method AgileTestPlatformSpec(String) This constructor sets the AssemblyFileSpec property.

Top

Properties

  Name Description
Public property AssemblyFileSpec
Public property ExecutionPlatform
Public property FailBuildOnFailure Gets or sets a flag indicating whether to fail the entire build if this test fails. (Inherited from TestSpec.)
Public property HasRunSettingsFile Returns true if RuntSettingsFileName is set.
Public property HasTestCaseFilter Returns true if TestCaseFilter is set.
Public property RunName (Inherited from TestSpec.)
Public property RunSettingsFileName Obsolete. Run Settings File Name
Public property RunSettingsForTestRun
Public property TestCaseFilter

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 the default hash function. (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