TestCaseResult interface

表示测试结果。

属性

afnStripId

测试操作录制的附件 ID。

area

对测试的区域路径的引用。

associatedBugs

对链接到测试结果的 bug 的引用。

attempt

尝试

automatedTestId

表示 dll 中测试方法的 ID。

automatedTestName

执行的测试的完全限定名称。

automatedTestStorage

测试所属的容器。

automatedTestType

自动测试的类型。

automatedTestTypeId

自动测试的 TypeId。

bucketingSystem

存储桶系统

bucketUid

Bucket Uid

build

对与测试结果关联的生成的浅表引用。

buildReference

对与测试结果关联的生成的引用。

buildType

生成类型

comment

在测试结果中注释 maxSize= 1000 个字符。

completedDate

测试执行完成的时间 (UTC) 。 完成日期应大于 StartedDate。

computerName

执行测试的计算机名称。

configuration

对测试配置的引用。 键入“ShallowReference”。

createdDate

在 UTC) (创建测试结果时的时间戳。

customFields

测试结果的其他属性。

dimensions

维度

durationInMs

测试执行的持续时间(以毫秒为单位)。 如果未提供值,则将设置为 CompletedDate - StartedDate

errorMessage

测试执行中的错误消息。

exceptionType

异常类型

executionNumber

执行编号

failingSince

测试结果开始失败时的信息。

failureType

测试结果的失败类型。 有效值= (已知问题、新问题、回归、未知、无)

id

测试结果的 ID。

isSystemIssue

包含是否为系统问题的布尔值

iterationDetails

仅用于手动测试的测试迭代的测试结果详细信息。

lastUpdatedBy

对标识上次更新测试结果的引用。

lastUpdatedDate

测试结果的上次更新时间/时间 (UTC) 。

layoutUid

LayoutId

links

链接 “type” 属性的有效值 = (MoreInfo、ResultInvestigation、TestInfo)

locale

Locale

outcome

测试结果的测试结果。 有效值 = (Unspecified、None、Passed、Failed、Inconclusive、Timeout、Aborted、Blocked、NotExecuted、Warning、Error、NotApplicable、Paused、InProgress、NotImpacted)

owner

对测试所有者的引用。

priority

执行的测试的优先级。

project

对团队项目的引用。

release

对与测试结果关联的发布的浅表引用。

releaseReference

对与测试结果关联的发布的引用。

resetCount

ResetCount。

resolutionState

测试结果的解析状态。

resolutionStateId

解析状态的 ID。

resultGroupType

结果的层次结构类型,默认值 None 表示其叶节点。

revision

测试结果的修订号。

runBy

对标识的引用执行了测试。

sourceSystemTestCaseId

来自源系统的 testResult 的 TestCaseId

stackTrace

maxSize= 1000 个字符的 Stacktrace。

startedDate

开始执行测试的时间 (UTC) 。

state

测试结果的状态。 键入 TestRunState。

subResults

测试结果中的子结果列表,如果 ResultGroupType 不是 None,则保留相应的类型子结果。

testCase

对所执行测试的引用。

testCaseReferenceId

测试结果使用的测试的引用 ID。 类型 TestResultMetaData

testCaseRevision

TestCaseRevision Number。

testCaseTitle

测试的名称。

testPhase

生成阶段有效值= (SystemSetup、UserSetup、Test、UserCleanup、SystemCleanup)

testPlan

对测试计划测试用例工作项的引用是其中的一部分。

testPoint

对执行的测试点的引用。

testRun

对测试运行的引用。

testSuite

对测试套件测试用例工作项的引用是其中的一部分。

topologyId

拓扑 ID

url

测试结果的 URL。

属性详细信息

afnStripId

测试操作录制的附件 ID。

afnStripId: number

属性值

number

area

对测试的区域路径的引用。

area: ShallowReference

属性值

associatedBugs

对链接到测试结果的 bug 的引用。

associatedBugs: ShallowReference[]

属性值

attempt

尝试

attempt: number

属性值

number

automatedTestId

表示 dll 中测试方法的 ID。

automatedTestId: string

属性值

string

automatedTestName

执行的测试的完全限定名称。

automatedTestName: string

属性值

string

automatedTestStorage

测试所属的容器。

automatedTestStorage: string

属性值

string

automatedTestType

自动测试的类型。

automatedTestType: string

属性值

string

automatedTestTypeId

自动测试的 TypeId。

automatedTestTypeId: string

属性值

string

bucketingSystem

存储桶系统

bucketingSystem: string

属性值

string

bucketUid

Bucket Uid

bucketUid: string

属性值

string

build

对与测试结果关联的生成的浅表引用。

build: ShallowReference

属性值

buildReference

对与测试结果关联的生成的引用。

buildReference: BuildReference

属性值

buildType

生成类型

buildType: string

属性值

string

comment

在测试结果中注释 maxSize= 1000 个字符。

comment: string

属性值

string

completedDate

测试执行完成的时间 (UTC) 。 完成日期应大于 StartedDate。

completedDate: Date

属性值

Date

computerName

执行测试的计算机名称。

computerName: string

属性值

string

configuration

对测试配置的引用。 键入“ShallowReference”。

configuration: ShallowReference

属性值

createdDate

在 UTC) (创建测试结果时的时间戳。

createdDate: Date

属性值

Date

customFields

测试结果的其他属性。

customFields: CustomTestField[]

属性值

dimensions

维度

dimensions: TestResultDimension[]

属性值

durationInMs

测试执行的持续时间(以毫秒为单位)。 如果未提供值,则将设置为 CompletedDate - StartedDate

durationInMs: number

属性值

number

errorMessage

测试执行中的错误消息。

errorMessage: string

属性值

string

exceptionType

异常类型

exceptionType: string

属性值

string

executionNumber

执行编号

executionNumber: number

属性值

number

failingSince

测试结果开始失败时的信息。

failingSince: FailingSince

属性值

failureType

测试结果的失败类型。 有效值= (已知问题、新问题、回归、未知、无)

failureType: string

属性值

string

id

测试结果的 ID。

id: number

属性值

number

isSystemIssue

包含是否为系统问题的布尔值

isSystemIssue: boolean

属性值

boolean

iterationDetails

仅用于手动测试的测试迭代的测试结果详细信息。

iterationDetails: TestIterationDetailsModel[]

属性值

lastUpdatedBy

对标识上次更新测试结果的引用。

lastUpdatedBy: IdentityRef

属性值

lastUpdatedDate

测试结果的上次更新时间/时间 (UTC) 。

lastUpdatedDate: Date

属性值

Date

layoutUid

LayoutId

layoutUid: string

属性值

string

链接 “type” 属性的有效值 = (MoreInfo、ResultInvestigation、TestInfo)

links: Link[]

属性值

Link[]

locale

Locale

locale: string

属性值

string

outcome

测试结果的测试结果。 有效值 = (Unspecified、None、Passed、Failed、Inconclusive、Timeout、Aborted、Blocked、NotExecuted、Warning、Error、NotApplicable、Paused、InProgress、NotImpacted)

outcome: string

属性值

string

owner

对测试所有者的引用。

owner: IdentityRef

属性值

priority

执行的测试的优先级。

priority: number

属性值

number

project

对团队项目的引用。

project: ShallowReference

属性值

release

对与测试结果关联的发布的浅表引用。

release: ShallowReference

属性值

releaseReference

对与测试结果关联的发布的引用。

releaseReference: ReleaseReference

属性值

resetCount

ResetCount。

resetCount: number

属性值

number

resolutionState

测试结果的解析状态。

resolutionState: string

属性值

string

resolutionStateId

解析状态的 ID。

resolutionStateId: number

属性值

number

resultGroupType

结果的层次结构类型,默认值 None 表示其叶节点。

resultGroupType: ResultGroupType

属性值

revision

测试结果的修订号。

revision: number

属性值

number

runBy

对标识的引用执行了测试。

runBy: IdentityRef

属性值

sourceSystemTestCaseId

来自源系统的 testResult 的 TestCaseId

sourceSystemTestCaseId: string

属性值

string

stackTrace

maxSize= 1000 个字符的 Stacktrace。

stackTrace: string

属性值

string

startedDate

开始执行测试的时间 (UTC) 。

startedDate: Date

属性值

Date

state

测试结果的状态。 键入 TestRunState。

state: string

属性值

string

subResults

测试结果中的子结果列表,如果 ResultGroupType 不是 None,则保留相应的类型子结果。

subResults: TestSubResult[]

属性值

testCase

对所执行测试的引用。

testCase: ShallowReference

属性值

testCaseReferenceId

测试结果使用的测试的引用 ID。 类型 TestResultMetaData

testCaseReferenceId: number

属性值

number

testCaseRevision

TestCaseRevision Number。

testCaseRevision: number

属性值

number

testCaseTitle

测试的名称。

testCaseTitle: string

属性值

string

testPhase

生成阶段有效值= (SystemSetup、UserSetup、Test、UserCleanup、SystemCleanup)

testPhase: string

属性值

string

testPlan

对测试计划测试用例工作项的引用是其中的一部分。

testPlan: ShallowReference

属性值

testPoint

对执行的测试点的引用。

testPoint: ShallowReference

属性值

testRun

对测试运行的引用。

testRun: ShallowReference

属性值

testSuite

对测试套件测试用例工作项的引用是其中的一部分。

testSuite: ShallowReference

属性值

topologyId

拓扑 ID

topologyId: number

属性值

number

url

测试结果的 URL。

url: string

属性值

string