RunCreateModel interface

测试运行创建详细信息。

属性

automated

如果测试运行是自动的,则为 true;否则为 false。 默认情况下,它将为 false。

build

对它所属的生成的抽象引用。

buildDropLocation

放置用于测试运行的生成的位置。

buildFlavor

用于测试运行的生成风格。 (例如:发布、调试)

buildPlatform

用于测试运行的生成的平台。 (例如:x86、amd64)

buildReference

测试运行的 BuildReference。

comment

分析运行的人员输入的注释。

completeDate

运行的已完成日期时间。

configurationIds

与运行关联的测试配置的 ID。

controller

用于自动运行的测试控制器的名称。

customTestFields

测试运行的其他属性。 CustomField 的值不能超过 1KB。

dtlAutEnvironment

对 DtlAutEnvironment 的抽象引用。

dtlTestEnvironment

对 DtlTestEnvironment 的抽象引用。

dueDate

测试运行的截止日期和时间。

environmentDetails
errorMessage

与运行关联的错误消息。

filter

用于发现运行的筛选器。

iteration

要在其中创建运行的迭代。 团队项目的根迭代将是默认的

name

测试运行的名称。

owner

运行所有者的显示名称。

pipelineReference

此测试运行所属管道的引用。 PipelineReference.PipelineId 应等于 RunCreateModel.Build.Id

plan

对它所属计划的抽象引用。

pointIds

在运行中使用的测试点的 ID。

releaseEnvironmentUri

与运行关联的发布环境的 URI。

releaseReference

对与测试运行关联的发布的引用。

releaseUri

与运行关联的发布的 URI。

runSummary

运行类型 = NoConfigRun 的运行摘要。

runTimeout

时间跨度到运行超时。

sourceWorkflow

SourceWorkFlow (测试运行的 CI/CD) 。

startDate

运行的开始日期时间。

state

运行的状态。 类型 TestRunState 有效状态 - NotStarted、InProgress、Waiting

tags

要与测试运行一起附加的标记,最多可以添加 5 个要运行的标记。

testConfigurationsMapping

测试运行的 TestConfigurationMapping。

testEnvironmentId

与运行关联的测试环境的 ID。

testSettings

对测试设置资源的抽象引用。

type

运行类型 (RunType) 有效值: (Unspecified、Normal、Blocking、Web、MtrRunInitiatedFromWeb、RunWithDtlEnv、NoConfigRun)

属性详细信息

automated

如果测试运行是自动的,则为 true;否则为 false。 默认情况下,它将为 false。

automated: boolean

属性值

boolean

build

对它所属的生成的抽象引用。

build: ShallowReference

属性值

buildDropLocation

放置用于测试运行的生成的位置。

buildDropLocation: string

属性值

string

buildFlavor

用于测试运行的生成风格。 (例如:发布、调试)

buildFlavor: string

属性值

string

buildPlatform

用于测试运行的生成的平台。 (例如:x86、amd64)

buildPlatform: string

属性值

string

buildReference

测试运行的 BuildReference。

buildReference: BuildConfiguration

属性值

comment

分析运行的人员输入的注释。

comment: string

属性值

string

completeDate

运行的已完成日期时间。

completeDate: string

属性值

string

configurationIds

与运行关联的测试配置的 ID。

configurationIds: number[]

属性值

number[]

controller

用于自动运行的测试控制器的名称。

controller: string

属性值

string

customTestFields

测试运行的其他属性。 CustomField 的值不能超过 1KB。

customTestFields: CustomTestField[]

属性值

dtlAutEnvironment

对 DtlAutEnvironment 的抽象引用。

dtlAutEnvironment: ShallowReference

属性值

dtlTestEnvironment

对 DtlTestEnvironment 的抽象引用。

dtlTestEnvironment: ShallowReference

属性值

dueDate

测试运行的截止日期和时间。

dueDate: string

属性值

string

environmentDetails

environmentDetails: DtlEnvironmentDetails

属性值

errorMessage

与运行关联的错误消息。

errorMessage: string

属性值

string

filter

用于发现运行的筛选器。

filter: RunFilter

属性值

iteration

要在其中创建运行的迭代。 团队项目的根迭代将是默认的

iteration: string

属性值

string

name

测试运行的名称。

name: string

属性值

string

owner

运行所有者的显示名称。

owner: IdentityRef

属性值

pipelineReference

此测试运行所属管道的引用。 PipelineReference.PipelineId 应等于 RunCreateModel.Build.Id

pipelineReference: PipelineReference

属性值

plan

对它所属计划的抽象引用。

plan: ShallowReference

属性值

pointIds

在运行中使用的测试点的 ID。

pointIds: number[]

属性值

number[]

releaseEnvironmentUri

与运行关联的发布环境的 URI。

releaseEnvironmentUri: string

属性值

string

releaseReference

对与测试运行关联的发布的引用。

releaseReference: ReleaseReference

属性值

releaseUri

与运行关联的发布的 URI。

releaseUri: string

属性值

string

runSummary

运行类型 = NoConfigRun 的运行摘要。

runSummary: RunSummaryModel[]

属性值

runTimeout

时间跨度到运行超时。

runTimeout: any

属性值

any

sourceWorkflow

SourceWorkFlow (测试运行的 CI/CD) 。

sourceWorkflow: string

属性值

string

startDate

运行的开始日期时间。

startDate: string

属性值

string

state

运行的状态。 类型 TestRunState 有效状态 - NotStarted、InProgress、Waiting

state: string

属性值

string

tags

要与测试运行一起附加的标记,最多可以添加 5 个要运行的标记。

tags: TestTag[]

属性值

testConfigurationsMapping

测试运行的 TestConfigurationMapping。

testConfigurationsMapping: string

属性值

string

testEnvironmentId

与运行关联的测试环境的 ID。

testEnvironmentId: string

属性值

string

testSettings

对测试设置资源的抽象引用。

testSettings: ShallowReference

属性值

type

运行类型 (RunType) 有效值: (Unspecified、Normal、Blocking、Web、MtrRunInitiatedFromWeb、RunWithDtlEnv、NoConfigRun)

type: string

属性值

string