共用方式為


TestSubResult interface

表示測試結果的子結果。

屬性

comment

在子結果中註解。

completedDate

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

computerName

執行測試的機器。

configuration

測試組態的參考。

customFields

子結果的其他屬性。

displayName

子結果的名稱。

durationInMs

測試執行的持續時間。

errorMessage

子結果中的錯誤訊息。

id

子結果的 ID。

lastUpdatedDate

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

outcome

子結果的結果。

parentId

子結果的直接父 ID。

resultGroupType

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

sequenceId

子結果的索引編號。

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。

id: number

屬性值

number

lastUpdatedDate

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

lastUpdatedDate: Date

屬性值

Date

outcome

子結果的結果。

outcome: string

屬性值

string

parentId

子結果的直接父 ID。

parentId: number

屬性值

number

resultGroupType

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

resultGroupType: ResultGroupType

屬性值

sequenceId

子結果的索引編號。

sequenceId: number

屬性值

number

stackTrace

堆疊追蹤。

stackTrace: string

屬性值

string

startedDate

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

startedDate: Date

屬性值

Date

subResults

子結果內的子結果列表,如果 ResultGroupType 不是 None,則它保存對應的類型子結果。

subResults: TestSubResult[]

屬性值

testResult

參考測試結果。

testResult: TestCaseResultIdentifier

屬性值

url

子結果的 URL。

url: string

屬性值

string