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


ITestCaseResult Interface

Represents the status of a test case executed against a test run.

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

Syntax

'Declaration
Public Interface ITestCaseResult _
    Inherits ITestResult, IAttachmentOwner, INotifyPropertyChanged, IIdentifiable(Of TestCaseResultIdentifier)
public interface ITestCaseResult : ITestResult, 
    IAttachmentOwner, INotifyPropertyChanged, IIdentifiable<TestCaseResultIdentifier>
public interface class ITestCaseResult : ITestResult, 
    IAttachmentOwner, INotifyPropertyChanged, IIdentifiable<TestCaseResultIdentifier^>
type ITestCaseResult =  
    interface 
        interface ITestResult 
        interface IAttachmentOwner 
        interface INotifyPropertyChanged 
        interface IIdentifiable<TestCaseResultIdentifier>
    end
public interface ITestCaseResult extends ITestResult, IAttachmentOwner, INotifyPropertyChanged, IIdentifiable<TestCaseResultIdentifier>

The ITestCaseResult type exposes the following members.

Properties

  Name Description
Public property ActionRecording
Public property ArtifactUri
Public property Attachments Gets the collection of attachments. (Inherited from IAttachmentOwner.)
Public property BuildNumber
Public property CollectorsEnabled Gets a list of the data collectors that are enabled for this result. (Inherited from ITestResult.)
Public property Comment Gets or sets the accumulated comments that were entered by those who analyzed this result. (Inherited from ITestResult.)
Public property ComputerName
Public property DateCompleted Gets or sets the date that the test was completed. (Inherited from ITestResult.)
Public property DateCreated Gets or sets the date that the test was created. (Inherited from ITestResult.)
Public property DateStarted Gets or sets the date that the test was started. (Inherited from ITestResult.)
Public property Duration Gets or sets the time that was spent to execute the test. This does not include the time during which the execution was paused. (Inherited from ITestResult.)
Public property ErrorMessage Gets or sets a description of the failure, if the test failed. (Inherited from ITestResult.)
Public property FailureType Obsolete.
Public property FailureTypeId
Public property Id Gets the identifier. (Inherited from IIdentifiable<TKey>.)
Public property Implementation
Public property IsFinished
Public property Iterations
Public property LastUpdated
Public property LastUpdatedBy
Public property LastUpdatedByName
Public property Outcome Gets or sets an indication of the outcome of the test. (Inherited from ITestResult.)
Public property Owner
Public property OwnerName
Public property OwnerTeamFoundationId
Public property Priority
Public property ResetCount
Public property ResolutionStateId
Public property Revision
Public property RunBy
Public property RunByName
Public property RunByTeamFoundationId
Public property State
Public property TestCaseArea
Public property TestCaseId
Public property TestCaseRevision
Public property TestCaseTitle
Public property TestConfigurationId
Public property TestConfigurationName
Public property TestPointId
Public property TestResultId
Public property TestRunId

Top

Methods

  Name Description
Public method AssociateWorkItem
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)
Public method CreateIteration
Public method DisassociateWorkItem
Public method GetTestCase
Public method GetTestRun
Public method QueryAssociatedWorkItemArtifacts
Public method QueryAssociatedWorkItems
Public method Refresh
Public method Reset
Public method Save()
Public method Save(Boolean)

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