共用方式為


TestSubResult interface

表示測試結果的子結果。

屬性

comment

子結果中的批註。

completedDate

測試執行完成的時間 (UTC) 。

computerName

執行測試的電腦。

configuration

測試組態的參考。

customFields

子結果的其他屬性。

displayName

子結果的名稱。

durationInMs

測試執行的持續時間。

errorMessage

子結果中的錯誤訊息。

id

子結果的識別碼。

lastUpdatedDate

上次更新結果的時間 (UTC) 。

outcome

子結果的結果。

parentId

子結果的立即父識別碼。

resultGroupType

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

sequenceId

子結果的索引編號。

stackTrace

Stacktrace。

startedDate

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

subResults

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

testResult

測試結果的參考。

url

子結果的 URL。

屬性詳細資料

comment

子結果中的批註。

comment: string

屬性值

string

completedDate

測試執行完成的時間 (UTC) 。

completedDate: Date

屬性值

Date

computerName

執行測試的電腦。

computerName: string

屬性值

string

configuration

測試組態的參考。

configuration: ShallowReference

屬性值

customFields

子結果的其他屬性。

customFields: CustomTestField[]

屬性值

displayName

子結果的名稱。

displayName: string

屬性值

string

durationInMs

測試執行的持續時間。

durationInMs: number

屬性值

number

errorMessage

子結果中的錯誤訊息。

errorMessage: string

屬性值

string

id

子結果的識別碼。

id: number

屬性值

number

lastUpdatedDate

上次更新結果的時間 (UTC) 。

lastUpdatedDate: Date

屬性值

Date

outcome

子結果的結果。

outcome: string

屬性值

string

parentId

子結果的立即父識別碼。

parentId: number

屬性值

number

resultGroupType

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

resultGroupType: ResultGroupType

屬性值

sequenceId

子結果的索引編號。

sequenceId: number

屬性值

number

stackTrace

Stacktrace。

stackTrace: string

屬性值

string

startedDate

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

startedDate: Date

屬性值

Date

subResults

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

subResults: TestSubResult[]

屬性值

testResult

測試結果的參考。

testResult: TestCaseResultIdentifier

屬性值

url

子結果的 URL。

url: string

屬性值

string