RunCreateModel interface
测试运行创建详细信息。
属性
automated | 如果测试运行是自动的,则为 true;否则为 false。 默认情况下,它将为 false。 |
build | 对它所属的生成的抽象引用。 |
build |
放置用于测试运行的生成的位置。 |
build |
用于测试运行的生成风格。 (例如:发布、调试) |
build |
用于测试运行的生成的平台。 (例如:x86、amd64) |
build |
测试运行的 BuildReference。 |
comment | 分析运行的人员输入的注释。 |
complete |
运行的已完成日期时间。 |
configuration |
与运行关联的测试配置的 ID。 |
controller | 用于自动运行的测试控制器的名称。 |
custom |
测试运行的其他属性。 CustomField 的值不能超过 1KB。 |
dtl |
对 DtlAutEnvironment 的抽象引用。 |
dtl |
对 DtlTestEnvironment 的抽象引用。 |
due |
测试运行的截止日期和时间。 |
environment |
|
error |
与运行关联的错误消息。 |
filter | 用于发现运行的筛选器。 |
iteration | 要在其中创建运行的迭代。 团队项目的根迭代将是默认的 |
name | 测试运行的名称。 |
owner | 运行所有者的显示名称。 |
pipeline |
此测试运行所属管道的引用。 PipelineReference.PipelineId 应等于 RunCreateModel.Build.Id |
plan | 对它所属计划的抽象引用。 |
point |
在运行中使用的测试点的 ID。 |
release |
与运行关联的发布环境的 URI。 |
release |
对与测试运行关联的发布的引用。 |
release |
与运行关联的发布的 URI。 |
run |
运行类型 = NoConfigRun 的运行摘要。 |
run |
时间跨度到运行超时。 |
source |
SourceWorkFlow (测试运行的 CI/CD) 。 |
start |
运行的开始日期时间。 |
state | 运行的状态。 类型 TestRunState 有效状态 - NotStarted、InProgress、Waiting |
tags | 要与测试运行一起附加的标记,最多可以添加 5 个要运行的标记。 |
test |
测试运行的 TestConfigurationMapping。 |
test |
与运行关联的测试环境的 ID。 |
test |
对测试设置资源的抽象引用。 |
type | 运行类型 (RunType) 有效值: (Unspecified、Normal、Blocking、Web、MtrRunInitiatedFromWeb、RunWithDtlEnv、NoConfigRun) |
属性详细信息
automated
如果测试运行是自动的,则为 true;否则为 false。 默认情况下,它将为 false。
automated: boolean
属性值
boolean
build
buildDropLocation
放置用于测试运行的生成的位置。
buildDropLocation: string
属性值
string
buildFlavor
用于测试运行的生成风格。 (例如:发布、调试)
buildFlavor: string
属性值
string
buildPlatform
用于测试运行的生成的平台。 (例如:x86、amd64)
buildPlatform: string
属性值
string
buildReference
comment
分析运行的人员输入的注释。
comment: string
属性值
string
completeDate
运行的已完成日期时间。
completeDate: string
属性值
string
configurationIds
与运行关联的测试配置的 ID。
configurationIds: number[]
属性值
number[]
controller
用于自动运行的测试控制器的名称。
controller: string
属性值
string
customTestFields
dtlAutEnvironment
dtlTestEnvironment
dueDate
测试运行的截止日期和时间。
dueDate: string
属性值
string
environmentDetails
errorMessage
与运行关联的错误消息。
errorMessage: string
属性值
string
filter
iteration
要在其中创建运行的迭代。 团队项目的根迭代将是默认的
iteration: string
属性值
string
name
测试运行的名称。
name: string
属性值
string
owner
pipelineReference
此测试运行所属管道的引用。 PipelineReference.PipelineId 应等于 RunCreateModel.Build.Id
pipelineReference: PipelineReference
属性值
plan
pointIds
在运行中使用的测试点的 ID。
pointIds: number[]
属性值
number[]
releaseEnvironmentUri
与运行关联的发布环境的 URI。
releaseEnvironmentUri: string
属性值
string
releaseReference
releaseUri
与运行关联的发布的 URI。
releaseUri: string
属性值
string
runSummary
runTimeout
时间跨度到运行超时。
runTimeout: any
属性值
any
sourceWorkflow
SourceWorkFlow (测试运行的 CI/CD) 。
sourceWorkflow: string
属性值
string
startDate
运行的开始日期时间。
startDate: string
属性值
string
state
运行的状态。 类型 TestRunState 有效状态 - NotStarted、InProgress、Waiting
state: string
属性值
string
tags
testConfigurationsMapping
测试运行的 TestConfigurationMapping。
testConfigurationsMapping: string
属性值
string
testEnvironmentId
与运行关联的测试环境的 ID。
testEnvironmentId: string
属性值
string
testSettings
type
运行类型 (RunType) 有效值: (Unspecified、Normal、Blocking、Web、MtrRunInitiatedFromWeb、RunWithDtlEnv、NoConfigRun)
type: string
属性值
string
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈