TestRun interface

Test run details.

Properties

build

Build associated with this test run.

buildConfiguration

Build configuration details associated with this test run.

comment

Comments entered by those analyzing the run.

completedDate

Completed date time of the run.

controller

Test Run Controller.

createdDate

Test Run CreatedDate.

customFields

List of Custom Fields for TestRun.

dropLocation

Drop Location for the test Run.

dtlAutEnvironment
dtlEnvironment
dtlEnvironmentCreationDetails
dueDate

Due date and time for test run.

errorMessage

Error message associated with the run.

filter
id

ID of the test run.

incompleteTests

Number of Incomplete Tests.

isAutomated

true if test run is automated, false otherwise.

iteration

The iteration to which the run belongs.

lastUpdatedBy

Team foundation ID of the last updated the test run.

lastUpdatedDate

Last updated date and time

name

Name of the test run.

notApplicableTests

Number of Not Applicable Tests.

owner

Team Foundation ID of the owner of the runs.

passedTests

Number of passed tests in the run

phase

Phase/State for the testRun.

pipelineReference

Reference of the pipeline to which this test run belongs.

plan

Test plan associated with this test run.

postProcessState

Post Process State.

project

Project associated with this run.

release

Release Reference for the Test Run.

releaseEnvironmentUri

Release Environment Uri for TestRun.

releaseUri

Release Uri for TestRun.

revision
runStatistics

RunSummary by outcome.

startedDate

Start date time of the run.

state

The state of the run. Type TestRunState Valid states - Unspecified ,NotStarted, InProgress, Completed, Waiting, Aborted, NeedsInvestigation

substate

TestRun Substate.

tags

Tags attached with this test run.

testEnvironment

Test environment associated with the run.

testMessageLogId
testSettings
totalTests

Total tests in the run

unanalyzedTests

Number of failed tests in the run.

url

Url of the test run

webAccessUrl

Web Access Url for TestRun.

Property Details

build

Build associated with this test run.

build: ShallowReference

Property Value

buildConfiguration

Build configuration details associated with this test run.

buildConfiguration: BuildConfiguration

Property Value

comment

Comments entered by those analyzing the run.

comment: string

Property Value

string

completedDate

Completed date time of the run.

completedDate: Date

Property Value

Date

controller

Test Run Controller.

controller: string

Property Value

string

createdDate

Test Run CreatedDate.

createdDate: Date

Property Value

Date

customFields

List of Custom Fields for TestRun.

customFields: CustomTestField[]

Property Value

dropLocation

Drop Location for the test Run.

dropLocation: string

Property Value

string

dtlAutEnvironment

dtlAutEnvironment: ShallowReference

Property Value

dtlEnvironment

dtlEnvironment: ShallowReference

Property Value

dtlEnvironmentCreationDetails

dtlEnvironmentCreationDetails: DtlEnvironmentDetails

Property Value

dueDate

Due date and time for test run.

dueDate: Date

Property Value

Date

errorMessage

Error message associated with the run.

errorMessage: string

Property Value

string

filter

filter: RunFilter

Property Value

id

ID of the test run.

id: number

Property Value

number

incompleteTests

Number of Incomplete Tests.

incompleteTests: number

Property Value

number

isAutomated

true if test run is automated, false otherwise.

isAutomated: boolean

Property Value

boolean

iteration

The iteration to which the run belongs.

iteration: string

Property Value

string

lastUpdatedBy

Team foundation ID of the last updated the test run.

lastUpdatedBy: IdentityRef

Property Value

lastUpdatedDate

Last updated date and time

lastUpdatedDate: Date

Property Value

Date

name

Name of the test run.

name: string

Property Value

string

notApplicableTests

Number of Not Applicable Tests.

notApplicableTests: number

Property Value

number

owner

Team Foundation ID of the owner of the runs.

owner: IdentityRef

Property Value

passedTests

Number of passed tests in the run

passedTests: number

Property Value

number

phase

Phase/State for the testRun.

phase: string

Property Value

string

pipelineReference

Reference of the pipeline to which this test run belongs.

pipelineReference: PipelineReference

Property Value

plan

Test plan associated with this test run.

plan: ShallowReference

Property Value

postProcessState

Post Process State.

postProcessState: string

Property Value

string

project

Project associated with this run.

project: ShallowReference

Property Value

release

Release Reference for the Test Run.

release: ReleaseReference

Property Value

releaseEnvironmentUri

Release Environment Uri for TestRun.

releaseEnvironmentUri: string

Property Value

string

releaseUri

Release Uri for TestRun.

releaseUri: string

Property Value

string

revision

revision: number

Property Value

number

runStatistics

RunSummary by outcome.

runStatistics: RunStatistic[]

Property Value

startedDate

Start date time of the run.

startedDate: Date

Property Value

Date

state

The state of the run. Type TestRunState Valid states - Unspecified ,NotStarted, InProgress, Completed, Waiting, Aborted, NeedsInvestigation

state: string

Property Value

string

substate

TestRun Substate.

substate: TestRunSubstate

Property Value

tags

Tags attached with this test run.

tags: TestTag[]

Property Value

testEnvironment

Test environment associated with the run.

testEnvironment: TestEnvironment

Property Value

testMessageLogId

testMessageLogId: number

Property Value

number

testSettings

testSettings: ShallowReference

Property Value

totalTests

Total tests in the run

totalTests: number

Property Value

number

unanalyzedTests

Number of failed tests in the run.

unanalyzedTests: number

Property Value

number

url

Url of the test run

url: string

Property Value

string

webAccessUrl

Web Access Url for TestRun.

webAccessUrl: string

Property Value

string