共用方式為


TestCaseResult interface

表示測試結果。

屬性

afnStripId

測試動作錄製的附件識別碼。

analysisFailureGroups

AnalysisFailureGroups

area

測試區域路徑的參考。

associatedBugs

連結到測試結果之 Bug 的參考。

attempt

嘗試

automatedTestId

標識元,表示 dll 中的測試方法。

automatedTestName

執行測試的完整名稱。

automatedTestStorage

測試所屬的容器。

automatedTestType

自動化測試的類型。

automatedTestTypeId

自動化測試的 TypeId。

bucketingSystem

貯體系統

bucketUid

貯體 Uid

build

淺層參考,用來建立與測試結果相關聯的組建。

buildReference

與測試結果相關聯的組建參考。

buildType

組建類型

comment

使用 MaxSize= 1000 個字元在測試結果中加上批注。

completedDate

測試執行完成的時間(UTC)。 完成日期應該大於 StartedDate。

computerName

執行測試的計算機名稱。

configuration

測試組態的參考。 輸入 ShallowReference。

createdDate

建立測試結果時時間戳(UTC)。

customFields

測試結果的其他屬性。

dimensions

尺寸

durationInMs

以毫秒為單位的測試執行持續時間。 如果未提供的值將會設定為 CompletedDate - StartedDate

errorMessage

測試執行中的錯誤訊息。

exceptionType

例外狀況類型

executionNumber

執行編號

failingSince

測試結果開始失敗時的資訊。

failureType

測試結果失敗類型。 有效值= (已知問題、新問題、回歸、未知、無)

id

測試結果的標識碼。

isSystemIssue

布爾值,保留是否為系統問題

iterationDetails

測試反覆專案僅用於手動測試的測試結果詳細數據。

lastUpdatedBy

上次更新測試結果的身分識別參考。

lastUpdatedDate

測試結果的上次更新日期時間(UTC)。

layoutUid

LayoutId

links

連結 “type” 属性的有效值 = (MoreInfo, ResultInvestigation, TestInfo)

locale

現場

outcome

測試結果的測試結果。 有效值 = (Unspecified、None、Passed、Failed、Inconclusive、Timeout、Aborted、Blocked、NotExecuted、Warning、Error、NotApplicable、Paused、InProgress、NotImpacted)

owner

測試擁有者的參考。

priority

執行測試的優先順序。

project

Team 項目的參考。

release

與測試結果相關聯的發行淺層參考。

releaseReference

與測試結果相關聯的發行參考。

resetCount

ResetCount。

resolutionState

測試結果的解析狀態。

resolutionStateId

解析狀態的標識碼。

resultGroupType

結果的階層類型,預設值 None 表示其分葉節點。

revision

測試結果的修訂編號。

runBy

身分識別的參考已執行測試。

sourceSystemTestCaseId

來自來源系統的 TestResult TestCaseId

stackTrace

具有 maxSize= 1000 個字元的 Stacktrace。

startedDate

測試執行開始的時間(UTC)。

state

測試結果的狀態。 輸入TestRunState。

subResults

測試結果內的子結果清單,如果 ResultGroupType 不是 None,則會保留對應的類型子結果。

testCase

執行測試的參考。

testCaseReferenceId

測試結果所使用的測試參考標識碼。 輸入 TestResultMetaData

testCaseRevision

TestCaseRevision Number。

testCaseTitle

測試的名稱。

testPhase

build phase Valid Value= (SystemSetup, UserSetup, Test, UserCleanup, SystemCleanup)

testPlan

測試計劃測試案例工作的參考是其中的一部分。

testPoint

執行測試點的參考。

testRun

測試回合的參考。

testSuite

測試套件測試案例 workitem 的參考是其中的一部分。

topologyId

拓撲標識碼

url

測試結果的 URL。

屬性詳細資料

afnStripId

測試動作錄製的附件識別碼。

afnStripId: number

屬性值

number

analysisFailureGroups

AnalysisFailureGroups

analysisFailureGroups: TestAnalysisFailureGroup[]

屬性值

area

測試區域路徑的參考。

area: ShallowReference

屬性值

associatedBugs

連結到測試結果之 Bug 的參考。

associatedBugs: ShallowReference[]

屬性值

attempt

嘗試

attempt: number

屬性值

number

automatedTestId

標識元,表示 dll 中的測試方法。

automatedTestId: string

屬性值

string

automatedTestName

執行測試的完整名稱。

automatedTestName: string

屬性值

string

automatedTestStorage

測試所屬的容器。

automatedTestStorage: string

屬性值

string

automatedTestType

自動化測試的類型。

automatedTestType: string

屬性值

string

automatedTestTypeId

自動化測試的 TypeId。

automatedTestTypeId: string

屬性值

string

bucketingSystem

貯體系統

bucketingSystem: string

屬性值

string

bucketUid

貯體 Uid

bucketUid: string

屬性值

string

build

淺層參考,用來建立與測試結果相關聯的組建。

build: ShallowReference

屬性值

buildReference

與測試結果相關聯的組建參考。

buildReference: BuildReference

屬性值

buildType

組建類型

buildType: string

屬性值

string

comment

使用 MaxSize= 1000 個字元在測試結果中加上批注。

comment: string

屬性值

string

completedDate

測試執行完成的時間(UTC)。 完成日期應該大於 StartedDate。

completedDate: Date

屬性值

Date

computerName

執行測試的計算機名稱。

computerName: string

屬性值

string

configuration

測試組態的參考。 輸入 ShallowReference。

configuration: ShallowReference

屬性值

createdDate

建立測試結果時時間戳(UTC)。

createdDate: Date

屬性值

Date

customFields

測試結果的其他屬性。

customFields: CustomTestField[]

屬性值

dimensions

尺寸

dimensions: TestResultDimension[]

屬性值

durationInMs

以毫秒為單位的測試執行持續時間。 如果未提供的值將會設定為 CompletedDate - StartedDate

durationInMs: number

屬性值

number

errorMessage

測試執行中的錯誤訊息。

errorMessage: string

屬性值

string

exceptionType

例外狀況類型

exceptionType: string

屬性值

string

executionNumber

執行編號

executionNumber: number

屬性值

number

failingSince

測試結果開始失敗時的資訊。

failingSince: FailingSince

屬性值

failureType

測試結果失敗類型。 有效值= (已知問題、新問題、回歸、未知、無)

failureType: string

屬性值

string

id

測試結果的標識碼。

id: number

屬性值

number

isSystemIssue

布爾值,保留是否為系統問題

isSystemIssue: boolean

屬性值

boolean

iterationDetails

測試反覆專案僅用於手動測試的測試結果詳細數據。

iterationDetails: TestIterationDetailsModel[]

屬性值

lastUpdatedBy

上次更新測試結果的身分識別參考。

lastUpdatedBy: IdentityRef

屬性值

lastUpdatedDate

測試結果的上次更新日期時間(UTC)。

lastUpdatedDate: Date

屬性值

Date

layoutUid

LayoutId

layoutUid: string

屬性值

string

連結 “type” 属性的有效值 = (MoreInfo, ResultInvestigation, TestInfo)

links: Link[]

屬性值

Link[]

locale

現場

locale: string

屬性值

string

outcome

測試結果的測試結果。 有效值 = (Unspecified、None、Passed、Failed、Inconclusive、Timeout、Aborted、Blocked、NotExecuted、Warning、Error、NotApplicable、Paused、InProgress、NotImpacted)

outcome: string

屬性值

string

owner

測試擁有者的參考。

owner: IdentityRef

屬性值

priority

執行測試的優先順序。

priority: number

屬性值

number

project

Team 項目的參考。

project: ShallowReference

屬性值

release

與測試結果相關聯的發行淺層參考。

release: ShallowReference

屬性值

releaseReference

與測試結果相關聯的發行參考。

releaseReference: ReleaseReference

屬性值

resetCount

ResetCount。

resetCount: number

屬性值

number

resolutionState

測試結果的解析狀態。

resolutionState: string

屬性值

string

resolutionStateId

解析狀態的標識碼。

resolutionStateId: number

屬性值

number

resultGroupType

結果的階層類型,預設值 None 表示其分葉節點。

resultGroupType: ResultGroupType

屬性值

revision

測試結果的修訂編號。

revision: number

屬性值

number

runBy

身分識別的參考已執行測試。

runBy: IdentityRef

屬性值

sourceSystemTestCaseId

來自來源系統的 TestResult TestCaseId

sourceSystemTestCaseId: string

屬性值

string

stackTrace

具有 maxSize= 1000 個字元的 Stacktrace。

stackTrace: string

屬性值

string

startedDate

測試執行開始的時間(UTC)。

startedDate: Date

屬性值

Date

state

測試結果的狀態。 輸入TestRunState。

state: string

屬性值

string

subResults

測試結果內的子結果清單,如果 ResultGroupType 不是 None,則會保留對應的類型子結果。

subResults: TestSubResult[]

屬性值

testCase

執行測試的參考。

testCase: ShallowReference

屬性值

testCaseReferenceId

測試結果所使用的測試參考標識碼。 輸入 TestResultMetaData

testCaseReferenceId: number

屬性值

number

testCaseRevision

TestCaseRevision Number。

testCaseRevision: number

屬性值

number

testCaseTitle

測試的名稱。

testCaseTitle: string

屬性值

string

testPhase

build phase Valid Value= (SystemSetup, UserSetup, Test, UserCleanup, SystemCleanup)

testPhase: string

屬性值

string

testPlan

測試計劃測試案例工作的參考是其中的一部分。

testPlan: ShallowReference

屬性值

testPoint

執行測試點的參考。

testPoint: ShallowReference

屬性值

testRun

測試回合的參考。

testRun: ShallowReference

屬性值

testSuite

測試套件測試案例 workitem 的參考是其中的一部分。

testSuite: ShallowReference

屬性值

topologyId

拓撲標識碼

topologyId: number

屬性值

number

url

測試結果的 URL。

url: string

屬性值

string