共用方式為


CustomTestCaseResultData interface

此數據模型用於 TestRunDataProvider,並提供 TestCaseResultsData 以進行測試回合

屬性

area

測試區域路徑的參考。

associatedBugs

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

automatedTestName

執行測試的完整名稱。

automatedTestStorage

測試所屬的容器。

build

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

computerName

執行測試的計算機名稱。

configuration

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

durationInMs

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

errorMessage

測試執行中的錯誤訊息。

id

測試結果的標識碼。

iterationPath

測試的反覆運算路徑。

outcome

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

owner

測試擁有者的參考。

priority

執行測試的優先順序。

runBy

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

stackTrace

具有 maxSize= 1000 個字元的 Stacktrace。

testCase

執行測試的參考。

testCaseReferenceId

測試結果所使用的測試參考標識碼。 類型 TestResultMetaData

testRun

測試回合的參考。

testSuite

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

屬性詳細資料

area

測試區域路徑的參考。

area: ShallowReference

屬性值

associatedBugs

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

associatedBugs: ShallowReference[]

屬性值

automatedTestName

執行測試的完整名稱。

automatedTestName: string

屬性值

string

automatedTestStorage

測試所屬的容器。

automatedTestStorage: string

屬性值

string

build

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

build: ShallowReference

屬性值

computerName

執行測試的計算機名稱。

computerName: string

屬性值

string

configuration

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

configuration: ShallowReference

屬性值

durationInMs

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

durationInMs: number

屬性值

number

errorMessage

測試執行中的錯誤訊息。

errorMessage: string

屬性值

string

id

測試結果的標識碼。

id: number

屬性值

number

iterationPath

測試的反覆運算路徑。

iterationPath: 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

runBy

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

runBy: IdentityRef

屬性值

stackTrace

具有 maxSize= 1000 個字元的 Stacktrace。

stackTrace: string

屬性值

string

testCase

執行測試的參考。

testCase: ShallowReference

屬性值

testCaseReferenceId

測試結果所使用的測試參考標識碼。 類型 TestResultMetaData

testCaseReferenceId: number

屬性值

number

testRun

測試回合的參考。

testRun: ShallowReference

屬性值

testSuite

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

testSuite: ShallowReference

屬性值