TestRun interface

测试运行详细信息。

属性

build

与此测试运行关联的生成。

buildConfiguration

生成与此测试运行关联的配置详细信息。

comment

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

completedDate

已完成的运行日期时间。

controller

测试运行控制器。

createdDate

测试运行 CreatedDate。

customFields

TestRun 的自定义字段列表。

dropLocation

删除测试运行的位置。

dtlAutEnvironment
dtlEnvironment
dtlEnvironmentCreationDetails
dueDate

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

errorMessage

与运行关联的错误消息。

filter
id

测试运行的 ID。

incompleteTests

不完整的测试数。

isAutomated

如果测试运行是自动化的,则为 true;否则为 false。

iteration

运行所属的迭代。

lastUpdatedBy

上次更新测试运行的团队基础 ID。

lastUpdatedDate

上次更新时间和时间

name

测试运行的名称。

notApplicableTests

不适用的测试数。

owner

运行所有者的 Team Foundation ID。

passedTests

运行中通过的测试数

phase

testRun 的阶段/状态。

pipelineReference

此测试运行所属的管道的引用。

plan

与此测试运行关联的测试计划。

postProcessState

处理后状态。

project

与此运行关联的项目。

release

测试运行的发布参考。

releaseEnvironmentUri

TestRun 的发布环境 URI。

releaseUri

TestRun 的发布 URI。

revision
runStatistics

按结果运行。

startedDate

运行的开始日期时间。

state

运行的状态。 类型 TestRunState 有效状态 - 未指定、NotStarted、InProgress、Completed、Waiting、Aborted、NeedsInvestigation

substate

TestRun Substate。

tags

随此测试运行一起附加的标记。

testEnvironment

与运行关联的测试环境。

testMessageLogId
testSettings
totalTests

运行中的测试总数

unanalyzedTests

运行中失败的测试数。

url

测试运行的 URL

webAccessUrl

TestRun 的 Web 访问 URL。

属性详细信息

build

与此测试运行关联的生成。

build: ShallowReference

属性值

buildConfiguration

生成与此测试运行关联的配置详细信息。

buildConfiguration: BuildConfiguration

属性值

comment

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

comment: string

属性值

string

completedDate

已完成的运行日期时间。

completedDate: Date

属性值

Date

controller

测试运行控制器。

controller: string

属性值

string

createdDate

测试运行 CreatedDate。

createdDate: Date

属性值

Date

customFields

TestRun 的自定义字段列表。

customFields: CustomTestField[]

属性值

dropLocation

删除测试运行的位置。

dropLocation: string

属性值

string

dtlAutEnvironment

dtlAutEnvironment: ShallowReference

属性值

dtlEnvironment

dtlEnvironment: ShallowReference

属性值

dtlEnvironmentCreationDetails

dtlEnvironmentCreationDetails: DtlEnvironmentDetails

属性值

dueDate

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

dueDate: Date

属性值

Date

errorMessage

与运行关联的错误消息。

errorMessage: string

属性值

string

filter

filter: RunFilter

属性值

id

测试运行的 ID。

id: number

属性值

number

incompleteTests

不完整的测试数。

incompleteTests: number

属性值

number

isAutomated

如果测试运行是自动化的,则为 true;否则为 false。

isAutomated: boolean

属性值

boolean

iteration

运行所属的迭代。

iteration: string

属性值

string

lastUpdatedBy

上次更新测试运行的团队基础 ID。

lastUpdatedBy: IdentityRef

属性值

lastUpdatedDate

上次更新时间和时间

lastUpdatedDate: Date

属性值

Date

name

测试运行的名称。

name: string

属性值

string

notApplicableTests

不适用的测试数。

notApplicableTests: number

属性值

number

owner

运行所有者的 Team Foundation ID。

owner: IdentityRef

属性值

passedTests

运行中通过的测试数

passedTests: number

属性值

number

phase

testRun 的阶段/状态。

phase: string

属性值

string

pipelineReference

此测试运行所属的管道的引用。

pipelineReference: PipelineReference

属性值

plan

与此测试运行关联的测试计划。

plan: ShallowReference

属性值

postProcessState

处理后状态。

postProcessState: string

属性值

string

project

与此运行关联的项目。

project: ShallowReference

属性值

release

测试运行的发布参考。

release: ReleaseReference

属性值

releaseEnvironmentUri

TestRun 的发布环境 URI。

releaseEnvironmentUri: string

属性值

string

releaseUri

TestRun 的发布 URI。

releaseUri: string

属性值

string

revision

revision: number

属性值

number

runStatistics

按结果运行。

runStatistics: RunStatistic[]

属性值

startedDate

运行的开始日期时间。

startedDate: Date

属性值

Date

state

运行的状态。 类型 TestRunState 有效状态 - 未指定、NotStarted、InProgress、Completed、Waiting、Aborted、NeedsInvestigation

state: string

属性值

string

substate

TestRun Substate。

substate: TestRunSubstate

属性值

tags

随此测试运行一起附加的标记。

tags: TestTag[]

属性值

testEnvironment

与运行关联的测试环境。

testEnvironment: TestEnvironment

属性值

testMessageLogId

testMessageLogId: number

属性值

number

testSettings

testSettings: ShallowReference

属性值

totalTests

运行中的测试总数

totalTests: number

属性值

number

unanalyzedTests

运行中失败的测试数。

unanalyzedTests: number

属性值

number

url

测试运行的 URL

url: string

属性值

string

webAccessUrl

TestRun 的 Web 访问 URL。

webAccessUrl: string

属性值

string