CustomTestRunData interface
此数据模型用于 AllTestRunsViewDataProvider 并提供测试运行数据
属性
build |
内部版本号。 |
completed |
已完成的运行日期时间。 |
duration |
运行执行的持续时间(以毫秒为单位) |
failed |
否。 运行中测试失败的 |
id | 测试运行的 ID。 |
name | 测试运行的名称。 |
pass |
运行传递率 |
started |
运行的开始日期时间。 |
state | 运行的状态。 类型 TestRunState 有效状态 - 未指定、NotStarted、InProgress、Completed、Waiting、Aborted、NeedsInvestigation |
test |
与此测试运行关联的测试计划的 ID。 |
test |
与此测试运行关联的测试计划的名称。 |
属性详细信息
buildNumber
内部版本号。
buildNumber: string
属性值
string
completedDate
已完成的运行日期时间。
completedDate: string
属性值
string
durationInMs
运行执行的持续时间(以毫秒为单位)
durationInMs: number
属性值
number
failedTestsCount
否。 运行中测试失败的
failedTestsCount: number
属性值
number
id
测试运行的 ID。
id: number
属性值
number
name
测试运行的名称。
name: string
属性值
string
passRate
运行传递率
passRate: string
属性值
string
startedDate
运行的开始日期时间。
startedDate: string
属性值
string
state
运行的状态。 类型 TestRunState 有效状态 - 未指定、NotStarted、InProgress、Completed、Waiting、Aborted、NeedsInvestigation
state: string
属性值
string
testPlanId
与此测试运行关联的测试计划的 ID。
testPlanId: number
属性值
number
testPlanName
与此测试运行关联的测试计划的名称。
testPlanName: string
属性值
string