CustomTestCaseResultData interface
此数据模型用于 TestRunDataProvider,并为测试运行提供 TestCaseResultsData
属性
area | 对测试的区域路径的引用。 |
automated |
执行的测试的完全限定名称。 |
automated |
测试所属的容器。 |
build | 浅表引用与测试结果关联的生成。 |
computer |
执行测试的计算机名称。 |
configuration | 对测试配置的引用。 类型 ShallowReference。 |
custom |
用于对测试结果进行其他分类的自定义数据数组。 CustomTestField 的值不能超过 1KB。 |
duration |
测试执行的持续时间(以毫秒为单位)。 如果未提供的值将设置为 CompletedDate - StartedDate |
error |
测试执行中的错误消息。 |
id | 测试结果的 ID。 |
outcome | 测试结果的测试结果。 有效值 = (Unspecified、None、Passed、Failed、Inconclusive、Timeout、Aborted、Blocked、NotExecuted、Warning、Error、NotApplicable、Paused、InProgress、NotImpacted) |
owner | 对测试所有者的引用。 |
priority | 执行的测试的优先级。 |
stack |
具有 maxSize= 1000 chars 的 Stacktrace。 |
test |
对执行的测试的引用。 |
test |
测试结果使用的测试的引用 ID。 类型 TestResultMetaData |
test |
对测试运行的引用。 |
test |
对测试套件测试用例工作项的引用是其中的一部分。 |
属性详细信息
area
automatedTestName
执行的测试的完全限定名称。
automatedTestName: string
属性值
string
automatedTestStorage
测试所属的容器。
automatedTestStorage: string
属性值
string
build
computerName
执行测试的计算机名称。
computerName: string
属性值
string
configuration
customFields
用于对测试结果进行其他分类的自定义数据数组。 CustomTestField 的值不能超过 1KB。
customFields: CustomTestField[]
属性值
durationInMs
测试执行的持续时间(以毫秒为单位)。 如果未提供的值将设置为 CompletedDate - StartedDate
durationInMs: number
属性值
number
errorMessage
测试执行中的错误消息。
errorMessage: string
属性值
string
id
测试结果的 ID。
id: number
属性值
number
outcome
测试结果的测试结果。 有效值 = (Unspecified、None、Passed、Failed、Inconclusive、Timeout、Aborted、Blocked、NotExecuted、Warning、Error、NotApplicable、Paused、InProgress、NotImpacted)
outcome: string
属性值
string
owner
priority
执行的测试的优先级。
priority: number
属性值
number
stackTrace
具有 maxSize= 1000 chars 的 Stacktrace。
stackTrace: string
属性值
string
testCase
testCaseReferenceId
测试结果使用的测试的引用 ID。 类型 TestResultMetaData
testCaseReferenceId: number
属性值
number