ITestRunBase Interface

 

No content here will be updated; please do not add material here.

Namespace:   Microsoft.TeamFoundation.TestManagement.Client
Assembly:  Microsoft.TeamFoundation.TestManagement.Client (in Microsoft.TeamFoundation.TestManagement.Client.dll)

Syntax

public interface ITestRunBase : IIdentifiable<int>, IAttachmentOwner, 
    INotifyPropertyChanged
public interface class ITestRunBase : IIdentifiable<int>, IAttachmentOwner, 
    INotifyPropertyChanged
type ITestRunBase = 
    interface
        interface IIdentifiable<int>
        interface IAttachmentOwner
        interface INotifyPropertyChanged
    end
Public Interface ITestRunBase
    Inherits IIdentifiable(Of Integer), IAttachmentOwner, INotifyPropertyChanged

Properties

Name Description
System_CAPS_pubproperty Attachments

Gets the collection of attachments.(Inherited from IAttachmentOwner.)

System_CAPS_pubproperty BuildConfigurationId

Returns the ID of the build configuration for this run or 0 if no id exists

System_CAPS_pubproperty BuildFlavor

Build flavor such as 'Release' or 'Debug'.

System_CAPS_pubproperty BuildNumber

Name of the build.

System_CAPS_pubproperty BuildPlatform

Platform of the build.

System_CAPS_pubproperty BuildUri

Name (as a URI) of the build the run was executed against.

As an example: new Uri("vstfs:///Build/Build/1")

System_CAPS_pubproperty Comment

Comments entered by those analyzing the run.

System_CAPS_pubproperty Controller

The name of the controller of this run

System_CAPS_pubproperty DateCompleted

Date the last test completed.

System_CAPS_pubproperty DateCreated

Date the run was created.

System_CAPS_pubproperty DateStarted

Date the run was started.

System_CAPS_pubproperty Id

Gets the identifier.(Inherited from IIdentifiable<TKey>.)

System_CAPS_pubproperty IsDirty

Returns true if the test run has been changed since the last Save().

System_CAPS_pubproperty LastUpdated

Date the run was last modified (title or owner set).

System_CAPS_pubproperty LastUpdatedBy

Last person to update run

System_CAPS_pubproperty LastUpdatedByName

Last person to update run

System_CAPS_pubproperty LinkedWorkItemCount

The total number of bugs associated with the test results.

System_CAPS_pubproperty Owner

User who started the run.

System_CAPS_pubproperty OwnerName

User who started the run.

System_CAPS_pubproperty OwnerTeamFoundationId

User who started the run.

System_CAPS_pubproperty Revision

Revision number of TestRun for concurrency control

System_CAPS_pubproperty TestEnvironmentId

The test environment for this run

System_CAPS_pubproperty TestPlanId

Returns the ID of the test plan that contains this run or 0 if this is an ad-hoc run.

System_CAPS_pubproperty TestSettings

The test settings being used for this test run execution. Null if the run has no test settings.

System_CAPS_pubproperty TestSettingsId

ID of the public test settings being used for this test run.

System_CAPS_pubproperty Title

Title of the associated run template.

Methods

Name Description
System_CAPS_pubmethod CopyTestSettings(ITestSettings)

Copy the test settings and associate it to the test run.

System_CAPS_pubmethod CreateAttachment(Byte[], Int32, Int32)

Creates an attachment for a Test Result from a byte array.

System_CAPS_pubmethod CreateAttachment(String)

Creates an attachment from a file. (Inherited from IAttachmentOwner.)

System_CAPS_pubmethod CreateAttachment(String, SourceFileAction)

Creates an attachment from a file, optionally deleting the source file after uploading.(Inherited from IAttachmentOwner.)

System_CAPS_pubmethod Delete()

Removes the given test run and its results from the server.

System_CAPS_pubmethod Refresh()

Updates the run with new data from the server.

System_CAPS_pubmethod Save()

Writes the new or updated test run to the server.

Events

Name Description
System_CAPS_pubevent AttachmentUploadCompleted

This event is raised when the attachment upload is completed.(Inherited from IAttachmentOwner.)

System_CAPS_pubevent PropertyChanged

(Inherited from INotifyPropertyChanged.)

Remarks

No content here will be updated; please do not add material here.

See Also

Microsoft.TeamFoundation.TestManagement.Client Namespace

Return to top