Edit

Share via


CustomTestCaseResultData interface

This data model is used in TestRunDataProvider and provides the TestCaseResultsData for a Test run

Properties

area

Reference to area path of test.

automatedTestName

Fully qualified name of test executed.

automatedTestStorage

Container to which test belongs.

build

Shallow reference to build associated with test result.

computerName

Machine name where test executed.

configuration

Reference to test configuration. Type ShallowReference.

customFields

Array of custom data for additional categorization of the test result. Value of the CustomTestField cannot be more than 1KB.

durationInMs

Duration of test execution in milliseconds. If not provided value will be set as CompletedDate - StartedDate

errorMessage

Error message in test execution.

id

ID of a test result.

outcome

Test outcome of test result. Valid values = (Unspecified, None, Passed, Failed, Inconclusive, Timeout, Aborted, Blocked, NotExecuted, Warning, Error, NotApplicable, Paused, InProgress, NotImpacted)

owner

Reference to test owner.

priority

Priority of test executed.

stackTrace

Stacktrace with maxSize= 1000 chars.

testCase

Reference to the test executed.

testCaseReferenceId

Reference ID of test used by test result. Type TestResultMetaData

testRun

Reference to test run.

testSuite

Reference to test suite test case workitem is part of.

Property Details

area

Reference to area path of test.

area: ShallowReference

Property Value

automatedTestName

Fully qualified name of test executed.

automatedTestName: string

Property Value

string

automatedTestStorage

Container to which test belongs.

automatedTestStorage: string

Property Value

string

build

Shallow reference to build associated with test result.

build: ShallowReference

Property Value

computerName

Machine name where test executed.

computerName: string

Property Value

string

configuration

Reference to test configuration. Type ShallowReference.

configuration: ShallowReference

Property Value

customFields

Array of custom data for additional categorization of the test result. Value of the CustomTestField cannot be more than 1KB.

customFields: CustomTestField[]

Property Value

durationInMs

Duration of test execution in milliseconds. If not provided value will be set as CompletedDate - StartedDate

durationInMs: number

Property Value

number

errorMessage

Error message in test execution.

errorMessage: string

Property Value

string

id

ID of a test result.

id: number

Property Value

number

outcome

Test outcome of test result. Valid values = (Unspecified, None, Passed, Failed, Inconclusive, Timeout, Aborted, Blocked, NotExecuted, Warning, Error, NotApplicable, Paused, InProgress, NotImpacted)

outcome: string

Property Value

string

owner

Reference to test owner.

owner: IdentityRef

Property Value

priority

Priority of test executed.

priority: number

Property Value

number

stackTrace

Stacktrace with maxSize= 1000 chars.

stackTrace: string

Property Value

string

testCase

Reference to the test executed.

testCase: ShallowReference

Property Value

testCaseReferenceId

Reference ID of test used by test result. Type TestResultMetaData

testCaseReferenceId: number

Property Value

number

testRun

Reference to test run.

testRun: ShallowReference

Property Value

testSuite

Reference to test suite test case workitem is part of.

testSuite: ShallowReference

Property Value