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.

associatedBugs

Reference to bugs linked to test result.

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.

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.

iterationPath

Iteration path of test.

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.

runBy

Reference to identity executed the test.

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

associatedBugs

Reference to bugs linked to test result.

associatedBugs: 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

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

iterationPath

Iteration path of test.

iterationPath: string

Property Value

string

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

runBy

Reference to identity executed the test.

runBy: IdentityRef

Property Value

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