Partager via


ITestAggregation Interface

Represents an interface that can be implemented by a test element.

Namespace:  Microsoft.VisualStudio.TestTools.Common
Assembly:  Microsoft.VisualStudio.QualityTools.Common (in Microsoft.VisualStudio.QualityTools.Common.dll)

Syntax

'Declaration
Public Interface ITestAggregation _
    Inherits ITestElement, ICloneable, IVerifiable, IVisiblePropertyProvider
public interface ITestAggregation : ITestElement, 
    ICloneable, IVerifiable, IVisiblePropertyProvider
public interface class ITestAggregation : ITestElement, 
    ICloneable, IVerifiable, IVisiblePropertyProvider
type ITestAggregation =  
    interface 
        interface ITestElement 
        interface ICloneable 
        interface IVerifiable 
        interface IVisiblePropertyProvider 
    end
public interface ITestAggregation extends ITestElement, ICloneable, IVerifiable, IVisiblePropertyProvider

The ITestAggregation type exposes the following members.

Properties

  Name Description
Public property AbortRunOnAgentFailure Gets or sets a value that indicates whether to abort the whole test run if a test agent fails. (Inherited from ITestElement.)
Public property Adapter Gets the associated test adapter that is used to execute the test. (Inherited from ITestElement.)
Public property AgentAttributes Gets a dictionary of agent attributes or restrictions for the current test run. (Inherited from ITestElement.)
Public property CanBeAggregated Gets a value that indicates whether this test element can be inserted into aggregation tests. (Inherited from ITestElement.)
Public property CategoryId Gets or sets the test list category ID for this test element. (Inherited from ITestElement.)
Public property ControllerPlugin Gets the name of the associated controller plug-in. (Inherited from ITestElement.)
Public property Copy Gets a copy of this test element. (Inherited from ITestElement.)
Public property CreatedByUI Gets or sets a value that indicates whether this test element was created by the user interface. (Inherited from ITestElement.)
Public property CssIteration Gets or sets the iteration path for an associated work item. (Inherited from ITestElement.)
Public property CssProjectStructure Gets or sets the area path for an associated work item. (Inherited from ITestElement.)
Public property DeploymentItems Gets a collection of files to be deployed with a test case. (Inherited from ITestElement.)
Public property Description Gets or sets a description for this test element. (Inherited from ITestElement.)
Public property Elements When implemented in a derived class, gets an array of IDs that identify the test elements that are aggregated into this aggregation.
Public property Enabled Gets or sets a value that indicates whether this test element is enabled. (Inherited from ITestElement.)
Public property ErrorMessageForNonRunnable Gets the error message to use when this test cannot be executed. (Inherited from ITestElement.)
Public property ExecutionId Gets or sets the current execution ID for this test element. (Inherited from ITestElement.)
Public property Groups Gets a collection of property descriptors that represent the groups to which the properties of this test element belong, and determines how they will be grouped in the properties window of the user interface. (Inherited from ITestElement.)
Public property HumanReadableId Gets the ID of this test element as it appears in the user interface. (Inherited from ITestElement.)
Public property Id Gets the ID for this test element. (Inherited from ITestElement.)
Public property IsAutomated Gets a value that indicates whether this test element object is automated. (Inherited from ITestElement.)
Public property IsGroupable Gets a value that indicates whether this test element object can be grouped together with other test element objects. (Inherited from ITestElement.)
Public property IsModified Gets a value that indicates whether this test element object has been modified. (Inherited from ITestElement.)
Public property IsRunnable Gets a value that indicates whether this test element can be executed as part of a test run. (Inherited from ITestElement.)
Public property IsRunOnRestart Gets a value that indicates whether the test run will restart with this test if it crashes during a test run. (Inherited from ITestElement.)
Public property Link Gets a link that can be used to access this test element. (Inherited from ITestElement.)
Public property Links When implemented in a derived class, gets an array of links from all test elements that are aggregated into this test element.
Public property Name Gets or sets the name of this test element. (Inherited from ITestElement.)
Public property Owner Gets the owner name as it is entered by the user in the user interface. (Inherited from ITestElement.)
Public property ParentExecId Gets the test execution ID for the parent object. (Inherited from ITestElement.)
Public property Priority Gets or sets a numeric indication of priority for this test element. (Inherited from ITestElement.)
Public property ProjectData Gets the project data object for this test element. (Inherited from ITestElement.)
Public property ProjectName Gets the name of the project to which this test element belongs. (Inherited from ITestElement.)
Public property ProjectRelativePath Gets the relative path of the test project. (Inherited from ITestElement.)
Public property Properties Gets a collection of the properties for this test element. (Inherited from ITestElement.)
Public property ReadOnly Gets a value that indicates whether this test element is read-only. (Inherited from ITestElement.)
Public property SolutionName Gets the name of the solution that contains this test element. (Inherited from ITestElement.)
Public property SourceFileName Gets the path and file name for the test that contains this element. (Inherited from ITestElement.)
Public property Storage Gets or sets the path of the storage location of the deployment items for this element. (Inherited from ITestElement.)
Public property TestCategories Gets a collection of test category items that is assigned to this test element by the user in the user interface. (Inherited from ITestElement.)
Public property TestType Gets the test type for this test element. (Inherited from ITestElement.)
Public property Timeout Gets or sets the number of milliseconds before the execution of this test element times out. (Inherited from ITestElement.)
Public property UserData Gets or sets an object that contains nonpersistable arbitrary data for a custom test element. (Inherited from ITestElement.)
Public property VisibleLinks When implemented in a derived class, gets an array of links for tests that are visible to the external viewer.
Public property VisibleProperties Gets a collection of property descriptors for properties that are visible to the user. (Inherited from IVisiblePropertyProvider.)
Public property WorkItemIds Gets a list of work items that is associated with this test element. (Inherited from ITestElement.)

Top

Methods

  Name Description
Public method Add When implemented in a derived class, adds a test element ID to the list of tests in the aggregation.
Public method AssignIsRunnable Assigns values for the IsRunnable and ErrorMessageForNonRunnable properties. (Inherited from ITestElement.)
Public method Clear When implemented in a derived class, removes all test elements from the aggregation.
Public method Clone Creates a new object that is a copy of the current instance. (Inherited from ICloneable.)
Public method IsValid When implemented in a derived class, gets a value that indicates whether the essential elements are available and valid. (Inherited from IVerifiable.)
Public method Remove When implemented in a derived class, removes the test element that is identified by the given link from the aggregation.

Top

See Also

Reference

Microsoft.VisualStudio.TestTools.Common Namespace

TestElement

IVerifiable

IVisiblePropertyProvider