This topic has not yet been rated - Rate this topic

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

The ITestResult type exposes the following members.

  NameDescription
Public propertyAttachmentsGets the collection of attachments. (Inherited from IAttachmentOwner.)
Public propertyCollectorsEnabledGets a list of the data collectors that are enabled for this result.
Public propertyCommentGets or sets the accumulated comments that were entered by those who analyzed this result.
Public propertyDateCompletedGets or sets the date that the test was completed.
Public propertyDateCreatedGets or sets the date that the test was created.
Public propertyDateStartedGets or sets the date that the test was started.
Public propertyDurationGets or sets the time that was spent to execute the test. This does not include the time during which the execution was paused.
Public propertyErrorMessageGets or sets a description of the failure, if the test failed.
Public propertyOutcomeGets or sets an indication of the outcome of the test.
Top
  NameDescription
Public methodCreateAttachment(String)Creates an attachment from a file. (Inherited from IAttachmentOwner.)
Public methodCreateAttachment(String, SourceFileAction)Creates an attachment from a file, optionally deleting the source file after uploading. (Inherited from IAttachmentOwner.)
Top
  NameDescription
Public eventAttachmentUploadCompletedThis event is raised when the attachment upload is completed. (Inherited from IAttachmentOwner.)
Public eventPropertyChangedOccurs when a property value changes. (Inherited from INotifyPropertyChanged.)
Top

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.

Did you find this helpful?
(1500 characters remaining)
© 2013 Microsoft. All rights reserved.