TestSubResult interface
表示測試結果的子結果。
屬性
| comment | 在子結果中註解。 |
| completed |
測試執行完成的時間(UTC)。 |
| computer |
執行測試的機器。 |
| configuration | 測試組態的參考。 |
| custom |
子結果的其他屬性。 |
| display |
子結果的名稱。 |
| duration |
測試執行的持續時間。 |
| error |
子結果中的錯誤訊息。 |
| id | 子結果的 ID。 |
| last |
結果上次更新的時間(UTC)。 |
| outcome | 子結果的結果。 |
| parent |
子結果的直接父 ID。 |
| result |
結果的階層類型,預設值 None 表示其分葉節點。 |
| sequence |
子結果的索引編號。 |
| stack |
堆疊追蹤。 |
| started |
測試執行開始的時間 (UTC)。 |
| sub |
子結果內的子結果列表,如果 ResultGroupType 不是 None,則它保存對應的類型子結果。 |
| test |
參考測試結果。 |
| url | 子結果的 URL。 |
屬性詳細資料
comment
在子結果中註解。
comment: string
屬性值
string
completedDate
測試執行完成的時間(UTC)。
completedDate: Date
屬性值
Date
computerName
執行測試的機器。
computerName: string
屬性值
string
configuration
customFields
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
sequenceId
子結果的索引編號。
sequenceId: number
屬性值
number
stackTrace
堆疊追蹤。
stackTrace: string
屬性值
string
startedDate
測試執行開始的時間 (UTC)。
startedDate: Date
屬性值
Date
subResults
testResult
url
子結果的 URL。
url: string
屬性值
string