Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

ITestResult Interface

 

Provides a base interface for results from test cases, test actions, and test iterations.

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

public interface ITestResult : IAttachmentOwner, INotifyPropertyChanged

NameDescription
System_CAPS_pubpropertyAttachments

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

System_CAPS_pubpropertyCollectorsEnabled

Gets a list of the data collectors that are enabled for this result.

System_CAPS_pubpropertyComment

Gets or sets the accumulated comments that were entered by those who analyzed this result.

System_CAPS_pubpropertyDateCompleted

Gets or sets the date that the test was completed.

System_CAPS_pubpropertyDateCreated

Gets or sets the date that the test was created.

System_CAPS_pubpropertyDateStarted

Gets or sets the date that the test was started.

System_CAPS_pubpropertyDuration

Gets or sets the time that was spent to execute the test. This does not include the time during which the execution was paused.

System_CAPS_pubpropertyErrorMessage

Gets or sets a description of the failure, if the test failed.

System_CAPS_pubpropertyOutcome

Gets or sets an indication of the outcome of the test.

NameDescription
System_CAPS_pubmethodCreateAttachment(String)

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

System_CAPS_pubmethodCreateAttachment(String, SourceFileAction)

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

NameDescription
System_CAPS_pubeventAttachmentUploadCompleted

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

System_CAPS_pubeventPropertyChanged

(Inherited from INotifyPropertyChanged.)

This interface supports the object model for Test Case management (TCM) in Visual Studio. This interface is not intended for you to implement in a custom class, but you can use this interface in a custom class if a TCM object returns an internal implementation.

Return to top
Show: