ITestAggregation Interface

Definition

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

public interface class ITestAggregation : ICloneable, Microsoft::VisualStudio::TestTools::Common::ITestElement
public interface ITestAggregation : ICloneable, Microsoft.VisualStudio.TestTools.Common.ITestElement
type ITestAggregation = interface
    interface ITestElement
    interface ICloneable
    interface IVerifiable
    interface IVisiblePropertyProvider
Public Interface ITestAggregation
Implements ICloneable, ITestElement
Derived
Implements

Properties

AbortRunOnAgentFailure

Gets or sets a value that indicates whether to abort the whole test run if a test agent fails.

(Inherited from ITestElement)
Adapter

Gets the associated test adapter that is used to execute the test.

(Inherited from ITestElement)
AgentAttributes

Gets a dictionary of agent attributes or restrictions for the current test run.

(Inherited from ITestElement)
CanBeAggregated

Gets a value that indicates whether this test element can be inserted into aggregation tests.

(Inherited from ITestElement)
CategoryId

Gets or sets the test list category ID for this test element.

(Inherited from ITestElement)
ControllerPlugin

Gets the name of the associated controller plug-in.

(Inherited from ITestElement)
Copy

Gets a copy of this test element.

(Inherited from ITestElement)
CreatedByUI

Gets or sets a value that indicates whether this test element was created by the user interface.

(Inherited from ITestElement)
CssIteration

Gets or sets the iteration path for an associated work item.

(Inherited from ITestElement)
CssProjectStructure

Gets or sets the area path for an associated work item.

(Inherited from ITestElement)
DeploymentItems

Gets a collection of files to be deployed with a test case.

(Inherited from ITestElement)
Description

Gets or sets a description for this test element.

(Inherited from ITestElement)
Elements

When implemented in a derived class, gets an array of IDs that identify the test elements that are aggregated into this aggregation.

Enabled

Gets or sets a value that indicates whether this test element is enabled.

(Inherited from ITestElement)
ErrorMessageForNonRunnable

Gets the error message to use when this test cannot be executed.

(Inherited from ITestElement)
ExecutionId

Gets or sets the current execution ID for this test element.

(Inherited from ITestElement)
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)
HumanReadableId

Gets the ID of this test element as it appears in the user interface.

(Inherited from ITestElement)
Id

Gets the ID for this test element.

(Inherited from ITestElement)
IsAutomated

Gets a value that indicates whether this test element object is automated.

(Inherited from ITestElement)
IsGroupable

Gets a value that indicates whether this test element object can be grouped together with other test element objects.

(Inherited from ITestElement)
IsModified

Gets a value that indicates whether this test element object has been modified.

(Inherited from ITestElement)
IsRunnable

Gets a value that indicates whether this test element can be executed as part of a test run.

(Inherited from ITestElement)
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)
Link

Gets a link that can be used to access this test element.

(Inherited from ITestElement)
Links

When implemented in a derived class, gets an array of links from all test elements that are aggregated into this test element.

Name

Gets or sets the name of this test element.

(Inherited from ITestElement)
Owner

Gets the owner name as it is entered by the user in the user interface.

(Inherited from ITestElement)
ParentExecId

Gets the test execution ID for the parent object.

(Inherited from ITestElement)
Priority

Gets or sets a numeric indication of priority for this test element.

(Inherited from ITestElement)
ProjectData

Gets the project data object for this test element.

(Inherited from ITestElement)
ProjectName

Gets the name of the project to which this test element belongs.

(Inherited from ITestElement)
ProjectRelativePath

Gets the relative path of the test project.

(Inherited from ITestElement)
Properties

Gets a collection of the properties for this test element.

(Inherited from ITestElement)
ReadOnly

Gets a value that indicates whether this test element is read-only.

(Inherited from ITestElement)
SolutionName

Gets the name of the solution that contains this test element.

(Inherited from ITestElement)
SourceFileName

Gets the path and file name for the test that contains this element.

(Inherited from ITestElement)
Storage

Gets or sets the path of the storage location of the deployment items for this element.

(Inherited from ITestElement)
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)
TestType

Gets the test type for this test element.

(Inherited from ITestElement)
Timeout

Gets or sets the number of milliseconds before the execution of this test element times out.

(Inherited from ITestElement)
UserData

Gets or sets an object that contains nonpersistable arbitrary data for a custom test element.

(Inherited from ITestElement)
VisibleLinks

When implemented in a derived class, gets an array of links for tests that are visible to the external viewer.

VisibleProperties

Gets a collection of property descriptors for properties that are visible to the user.

(Inherited from IVisiblePropertyProvider)
WorkItemIds

Gets a list of work items that is associated with this test element.

(Inherited from ITestElement)

Methods

Add(Link)

When implemented in a derived class, adds a test element ID to the list of tests in the aggregation.

AssignIsRunnable(Boolean, String)

Assigns values for the IsRunnable and ErrorMessageForNonRunnable properties.

(Inherited from ITestElement)
Clear()

When implemented in a derived class, removes all test elements from the aggregation.

IsValid()

When implemented in a derived class, gets a value that indicates whether the essential elements are available and valid.

(Inherited from IVerifiable)
Remove(Link)

When implemented in a derived class, removes the test element that is identified by the given link from the aggregation.

Applies to