共用方式為


ITestIterationResult 介面

表示對某列資料執行測試案例的結果。

命名空間:  Microsoft.TeamFoundation.TestManagement.Client
組件:  Microsoft.TeamFoundation.TestManagement.Client (在 Microsoft.TeamFoundation.TestManagement.Client.dll 中)

語法

'宣告
Public Interface ITestIterationResult _
    Inherits ITestResult, IAttachmentOwner, INotifyPropertyChanged
public interface ITestIterationResult : ITestResult, 
    IAttachmentOwner, INotifyPropertyChanged
public interface class ITestIterationResult : ITestResult, 
    IAttachmentOwner, INotifyPropertyChanged
type ITestIterationResult =  
    interface 
        interface ITestResult 
        interface IAttachmentOwner 
        interface INotifyPropertyChanged 
    end
public interface ITestIterationResult extends ITestResult, IAttachmentOwner, INotifyPropertyChanged

ITestIterationResult 類型會公開下列成員。

屬性

  名稱 描述
公用屬性 Actions 取得每個測試步驟或元件的詳細結果。
公用屬性 Attachments 取得附件的集合。 (繼承自 IAttachmentOwner)。
公用屬性 CollectorsEnabled 取得針對這個結果啟用的資料收集器清單。 (繼承自 ITestResult)。
公用屬性 Comment 取得或設定分析這個結果的項目所輸入的累積註解。 (繼承自 ITestResult)。
公用屬性 DateCompleted 取得或設定測試的完成日期。 (繼承自 ITestResult)。
公用屬性 DateCreated 取得或設定測試的建立日期。 (繼承自 ITestResult)。
公用屬性 DateStarted 取得或設定這個測試的開始日期。 (繼承自 ITestResult)。
公用屬性 Duration 取得或設定執行測試所花費的時間。這不包括執行暫停期間的時間。 (繼承自 ITestResult)。
公用屬性 ErrorMessage 取得或設定失敗的描述 (如果測試失敗)。 (繼承自 ITestResult)。
公用屬性 IterationId 取得已產生這些結果之反覆項目的數值序列識別碼。
公用屬性 Outcome 取得或設定測試結果的表示。 (繼承自 ITestResult)。
公用屬性 Parameters 取得擷取自測試結果的參數 (包括值) 集合。

回頁首

方法

  名稱 描述
公用方法 CreateAttachment(String) 從檔案建立附件。 (繼承自 IAttachmentOwner)。
公用方法 CreateAttachment(String, SourceFileAction) 從檔案建立附件,上載之後選擇性地刪除原始檔。 (繼承自 IAttachmentOwner)。
公用方法 CreateSharedStepResult 建立並傳回新的共用步驟結果。
公用方法 CreateStepResult 建立並傳回新的測試步驟結果。
公用方法 FindActionResult 傳回指定之測試動作的結果。

回頁首

事件

  名稱 描述
公用事件 AttachmentUploadCompleted 這個事件會在附件上傳完成時引發。 (繼承自 IAttachmentOwner)。
公用事件 PropertyChanged 當屬性值變更時發生。 (繼承自 INotifyPropertyChanged)。

回頁首

請參閱

參考

Microsoft.TeamFoundation.TestManagement.Client 命名空間

ITestResult

IAttachmentOwner

INotifyPropertyChanged