Test run details.

interface TestRun {
    build?: ShallowReference;
    buildConfiguration?: BuildConfiguration;
    comment?: string;
    completedDate?: Date;
    controller?: string;
    createdDate?: Date;
    customFields?: CustomTestField[];
    dropLocation?: string;
    dtlAutEnvironment?: ShallowReference;
    dtlEnvironment?: ShallowReference;
    dtlEnvironmentCreationDetails?: DtlEnvironmentDetails;
    dueDate?: Date;
    errorMessage?: string;
    filter?: RunFilter;
    id: number;
    incompleteTests?: number;
    isAutomated: boolean;
    iteration?: string;
    lastUpdatedBy?: IdentityRef;
    lastUpdatedDate?: Date;
    name: string;
    notApplicableTests?: number;
    owner?: IdentityRef;
    passedTests?: number;
    phase?: string;
    pipelineReference?: PipelineReference;
    plan?: ShallowReference;
    postProcessState?: string;
    project?: ShallowReference;
    release?: ReleaseReference;
    releaseEnvironmentUri?: string;
    releaseUri?: string;
    revision?: number;
    runStatistics?: RunStatistic[];
    startedDate?: Date;
    state?: string;
    substate?: TestRunSubstate;
    tags?: TestTag[];
    testEnvironment?: TestEnvironment;
    testMessageLogId?: number;
    testSettings?: ShallowReference;
    totalTests?: number;
    unanalyzedTests?: number;
    url: string;
    webAccessUrl?: string;
}

Properties

Build associated with this test run.

buildConfiguration?: BuildConfiguration

Build configuration details associated with this test run.

comment?: string

Comments entered by those analyzing the run.

completedDate?: Date

Completed date time of the run.

controller?: string

Test Run Controller.

createdDate?: Date

Test Run CreatedDate.

customFields?: CustomTestField[]

List of Custom Fields for TestRun.

dropLocation?: string

Drop Location for the test Run.

dtlAutEnvironment?: ShallowReference
dtlEnvironment?: ShallowReference
dtlEnvironmentCreationDetails?: DtlEnvironmentDetails
dueDate?: Date

Due date and time for test run.

errorMessage?: string

Error message associated with the run.

filter?: RunFilter
id: number

ID of the test run.

incompleteTests?: number

Number of Incomplete Tests.

isAutomated: boolean

true if test run is automated, false otherwise.

iteration?: string

The iteration to which the run belongs.

lastUpdatedBy?: IdentityRef

Team foundation ID of the last updated the test run.

lastUpdatedDate?: Date

Last updated date and time

name: string

Name of the test run.

notApplicableTests?: number

Number of Not Applicable Tests.

owner?: IdentityRef

Team Foundation ID of the owner of the runs.

passedTests?: number

Number of passed tests in the run

phase?: string

Phase/State for the testRun.

pipelineReference?: PipelineReference

Reference of the pipeline to which this test run belongs.

Test plan associated with this test run.

postProcessState?: string

Post Process State.

Project associated with this run.

Release Reference for the Test Run.

releaseEnvironmentUri?: string

Release Environment Uri for TestRun.

releaseUri?: string

Release Uri for TestRun.

revision?: number
runStatistics?: RunStatistic[]

RunSummary by outcome.

startedDate?: Date

Start date time of the run.

state?: string

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

substate?: TestRunSubstate

TestRun Substate.

tags?: TestTag[]

Tags attached with this test run.

testEnvironment?: TestEnvironment

Test environment associated with the run.

testMessageLogId?: number
testSettings?: ShallowReference
totalTests?: number

Total tests in the run

unanalyzedTests?: number

Number of failed tests in the run.

url: string

Url of the test run

webAccessUrl?: string

Web Access Url for TestRun.