Share via


ITestRun Interface

Represents an execution of a set of tests against a specific build.

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

Syntax

'Declaration
Public Interface ITestRun _
    Inherits ITestMessageLogOwner, ITestRunBase, IIdentifiable(Of Integer),  _
    IAttachmentOwner, INotifyPropertyChanged
public interface ITestRun : ITestMessageLogOwner, 
    ITestRunBase, IIdentifiable<int>, IAttachmentOwner, INotifyPropertyChanged
public interface class ITestRun : ITestMessageLogOwner, 
    ITestRunBase, IIdentifiable<int>, IAttachmentOwner, INotifyPropertyChanged
type ITestRun =  
    interface 
        interface ITestMessageLogOwner 
        interface ITestRunBase 
        interface IIdentifiable<int>
        interface IAttachmentOwner 
        interface INotifyPropertyChanged 
    end
public interface ITestRun extends ITestMessageLogOwner, ITestRunBase, IIdentifiable<int>, IAttachmentOwner, INotifyPropertyChanged

The ITestRun type exposes the following members.

Properties

  Name Description
Public property Attachments Gets the collection of attachments. (Inherited from IAttachmentOwner.)
Public property BuildConfigurationId
Public property BuildDirectory
Public property BuildFlavor
Public property BuildNumber (Inherited from ITestRunBase.)
Public property BuildPlatform
Public property BuildUri (Inherited from ITestRunBase.)
Public property Comment (Inherited from ITestRunBase.)
Public property Controller (Inherited from ITestRunBase.)
Public property DateCompleted (Inherited from ITestRunBase.)
Public property DateCreated (Inherited from ITestRunBase.)
Public property DateDue
Public property DateStarted (Inherited from ITestRunBase.)
Public property ErrorMessage
Public property Id Gets the identifier. (Inherited from IIdentifiable<TKey>.)
Public property IncompleteTests
Public property IsAutomated
Public property IsBvt
Public property IsDirty (Inherited from ITestRunBase.)
Public property Iteration
Public property LastUpdated (Inherited from ITestRunBase.)
Public property LastUpdatedBy (Inherited from ITestRunBase.)
Public property LastUpdatedByName (Inherited from ITestRunBase.)
Public property LinkedWorkItemCount (Inherited from ITestRunBase.)
Public property NotApplicableTests
Public property Owner (Inherited from ITestRunBase.)
Public property OwnerName (Inherited from ITestRunBase.)
Public property OwnerTeamFoundationId (Inherited from ITestRunBase.)
Public property PassedTests
Public property PostProcessState
Public property Project
Public property Revision (Inherited from ITestRunBase.)
Public property State
Public property Statistics
Public property TestEnvironmentId (Inherited from ITestRunBase.)
Public property TestMessageLogEntries Gets a collection of test message log entries. (Inherited from ITestMessageLogOwner.)
Public property TestPlanId (Inherited from ITestRunBase.)
Public property TestSettings (Inherited from ITestRunBase.)
Public property TestSettingsId (Inherited from ITestRunBase.)
Public property Title (Inherited from ITestRunBase.)
Public property TotalTests
Public property Type
Public property UnanalyzedTests
Public property Version

Top

Methods

  Name Description
Public method Abort()
Public method Abort(TestRunAbortOptions)
Public method AddTest(String)
Public method AddTest(Int32, Int32, TeamFoundationIdentity)
Public method AddTest(Int32, String, String, ITmiTestImplementation)
Public method AddTestPoint
Public method AddTestPoints
Public method CopyTestSettings (Inherited from ITestRunBase.)
Public method CreateAttachment(String) Creates an attachment from a file. (Inherited from IAttachmentOwner.)
Public method CreateAttachment(String, SourceFileAction) Creates an attachment from a file, optionally deleting the source file after uploading. (Inherited from IAttachmentOwner.)
Public method CreateAttachment(array<Byte[], Int32, Int32) (Inherited from ITestRunBase.)
Public method CreateLogEntry Creates a test message log entry and adds it to the TestMessageLogEntryCollection. (Inherited from ITestMessageLogOwner.)
Public method Delete (Inherited from ITestRunBase.)
Public method QueryResults()
Public method QueryResults(Boolean) Returns all test results for this run.
Public method QueryResultsByOutcome
Public method QueryResultsByOwner
Public method QueryResultsByStatus
Public method Refresh() (Inherited from ITestRunBase.)
Public method Refresh(DateTime)
Public method RefreshLogEntries Refreshes the log entries from the server. (Inherited from ITestMessageLogOwner.)
Public method Save (Inherited from ITestRunBase.)
Public method SaveLogEntries Saves changed log entries to the server. (Inherited from ITestMessageLogOwner.)

Top

Events

  Name Description
Public event AttachmentUploadCompleted This event is raised when the attachment upload is completed. (Inherited from IAttachmentOwner.)
Public event PropertyChanged Occurs when a property value changes. (Inherited from INotifyPropertyChanged.)

Top

Remarks

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

See Also

Reference

Microsoft.TeamFoundation.TestManagement.Client Namespace