Results - List

テスト実行のテスト結果を取得します。

GET https://dev.azure.com/{organization}/{project}/_apis/test/Runs/{runId}/results?api-version=7.1-preview.6
GET https://dev.azure.com/{organization}/{project}/_apis/test/Runs/{runId}/results?detailsToInclude={detailsToInclude}&$skip={$skip}&$top={$top}&outcomes={outcomes}&api-version=7.1-preview.6

URI パラメーター

名前 / 必須 説明
organization
path True

string

Azure DevOps 組織の名前です。

project
path True

string

プロジェクト ID またはプロジェクト名

runId
path True

integer

int32

フェッチするテスト結果のテスト実行 ID。

api-version
query True

string

使う API のバージョン。 このバージョンの API を使用するには、これを '7.1-preview.6' に設定する必要があります。

$skip
query

integer

int32

最初からスキップするテスト結果の数。

$top
query

integer

int32

返すテスト結果の数。 detailsToInclude が None の場合は最大 1000、それ以外の場合は 200 です。

detailsToInclude
query

ResultDetails

テスト結果に含める詳細。 既定値はなしです。 その他の値は Iterations と WorkItems です。

outcomes
query

string

array (TestOutcome)

テスト結果をフィルター処理するためのテスト結果のコンマ区切りの一覧。

応答

名前 説明
200 OK

TestCaseResult[]

正常な操作

セキュリティ

oauth2

Type: oauth2
Flow: accessCode
Authorization URL: https://app.vssps.visualstudio.com/oauth2/authorize&response_type=Assertion
Token URL: https://app.vssps.visualstudio.com/oauth2/token?client_assertion_type=urn:ietf:params:oauth:client-assertion-type:jwt-bearer&grant_type=urn:ietf:params:oauth:grant-type:jwt-bearer

Scopes

名前 説明
vso.test テスト 計画、ケース、結果、その他のテスト管理関連の成果物を読み取る機能を付与します。

Get a list of test results
With test iterations and workitem details
With workitem details

Get a list of test results

Sample Request

GET https://dev.azure.com/fabrikam/Fabrikam-Fiber-TFVC/_apis/test/Runs/16/results?api-version=7.1-preview.6

Sample Response

{
  "count": 3,
  "value": [
    {
      "id": 100000,
      "project": {
        "id": "5c3d39df-a0cb-49da-be01-42e53792c0e1",
        "name": "Fabrikam-Fiber-TFVC",
        "url": "https://dev.azure.com/fabrikam/_apis/projects/Fabrikam-Fiber-TFVC"
      },
      "startedDate": "2016-07-13T11:12:48.487Z",
      "completedDate": "2016-07-13T11:12:48.493Z",
      "durationInMs": 4,
      "outcome": "Passed",
      "revision": 1,
      "runBy": {
        "id": "a5cbf24d-799f-452e-82be-f049a85b5895",
        "displayName": "Fabrikam",
        "uniqueName": "fabrikamfiber.vsin@hotmail.com",
        "url": "https://dev.azure.com/fabrikam/_apis/Identities/a5cbf24d-799f-452e-82be-f049a85b5895",
        "imageUrl": "https://dev.azure.com/fabrikam/_api/_common/identityImage?id=a5cbf24d-799f-452e-82be-f049a85b5895"
      },
      "state": "Completed",
      "testCase": {
        "name": "Pass1"
      },
      "testRun": {
        "id": "16",
        "name": "VSTest Test Run release any cpu",
        "url": "https://dev.azure.com/fabrikam/Fabrikam-Fiber-TFVC/_apis/test/Runs/16"
      },
      "lastUpdatedDate": "2016-07-13T11:12:49.123Z",
      "lastUpdatedBy": {
        "id": "375baa5b-5148-4e89-a549-ec202b722d89",
        "displayName": "Project Collection Build Service (fabrikam)",
        "uniqueName": "Build\\78b5727d-4a24-4ec8-9caf-704685572174",
        "url": "https://vssps.dev.azure.com/fabrikam/_apis/Identities/375baa5b-5148-4e89-a549-ec202b722d89",
        "imageUrl": "https://dev.azure.com/fabrikam/_api/_common/identityImage?id=375baa5b-5148-4e89-a549-ec202b722d89"
      },
      "priority": 0,
      "computerName": "TASKAGENT5-0055",
      "build": {
        "id": "5",
        "name": "20160713.2",
        "url": "https://dev.azure.com/fabrikam/_apis/build/Builds/5"
      },
      "createdDate": "2016-07-13T11:12:49.123Z",
      "url": "https://dev.azure.com/fabrikam/Fabrikam-Fiber-TFVC/_apis/test/Runs/16/Results/100000",
      "failureType": "None",
      "automatedTestStorage": "unittestproject1.dll",
      "automatedTestType": "UnitTest",
      "automatedTestTypeId": "13cdc9d9-ddb5-4fa4-a97d-d965ccfc6d4b",
      "automatedTestId": "aefba017-ab06-be36-6b92-de4e29836f72",
      "area": {
        "id": "37528",
        "name": "Fabrikam-Fiber-TFVC",
        "url": "vstfs:///Classification/Node/ebe8ac79-8d9f-4a5b-8d0a-c3095c81e70e"
      },
      "testCaseTitle": "Pass1",
      "customFields": [],
      "automatedTestName": "UnitTestProject1.UnitTest1.Pass1"
    },
    {
      "id": 100001,
      "project": {
        "id": "5c3d39df-a0cb-49da-be01-42e53792c0e1",
        "name": "Fabrikam-Fiber-TFVC",
        "url": "https://dev.azure.com/fabrikam/_apis/projects/Fabrikam-Fiber-TFVC"
      },
      "startedDate": "2016-07-13T11:12:48.547Z",
      "completedDate": "2016-07-13T11:12:48.62Z",
      "durationInMs": 74,
      "outcome": "Failed",
      "revision": 1,
      "runBy": {
        "id": "a5cbf24d-799f-452e-82be-f049a85b5895",
        "displayName": "Fabrikam-Fiber-TFVC",
        "uniqueName": "fabrikamfiber.vsin@hotmail.com",
        "url": "https://vssps.dev.azure.com/fabrikam/_apis/Identities/a5cbf24d-799f-452e-82be-f049a85b5895",
        "imageUrl": "https://dev.azure.com/fabrikam/_api/_common/identityImage?id=a5cbf24d-799f-452e-82be-f049a85b5895"
      },
      "state": "Completed",
      "testCase": {
        "name": "Fail1"
      },
      "testRun": {
        "id": "16",
        "name": "VSTest Test Run release any cpu",
        "url": "https://dev.azure.com/fabrikam/Fabrikam-Fiber-TFVC/_apis/test/Runs/16"
      },
      "lastUpdatedDate": "2016-07-13T11:12:49.123Z",
      "lastUpdatedBy": {
        "id": "375baa5b-5148-4e89-a549-ec202b722d89",
        "displayName": "Project Collection Build Service (fabrikam)",
        "uniqueName": "Build\\78b5727d-4a24-4ec8-9caf-704685572174",
        "url": "https://vssps.dev.azure.com/fabrikam/_apis/Identities/375baa5b-5148-4e89-a549-ec202b722d89",
        "imageUrl": "https://dev.azure.com/fabrikam/_api/_common/identityImage?id=375baa5b-5148-4e89-a549-ec202b722d89"
      },
      "priority": 10,
      "computerName": "TASKAGENT5-0055",
      "build": {
        "id": "5",
        "name": "20160713.2",
        "url": "https://dev.azure.com/fabrikam/_apis/build/Builds/5"
      },
      "errorMessage": "Assert.Fail failed. ",
      "createdDate": "2016-07-13T11:12:49.123Z",
      "url": "https://dev.azure.com/fabrikam/Fabrikam-Fiber-TFVC/_apis/test/Runs/16/Results/100001",
      "failureType": "None",
      "automatedTestStorage": "unittestproject1.dll",
      "automatedTestType": "UnitTest",
      "automatedTestTypeId": "13cdc9d9-ddb5-4fa4-a97d-d965ccfc6d4b",
      "automatedTestId": "7c66fbda-2d0e-a714-e18d-83c0464019a5",
      "area": {
        "id": "37528",
        "name": "Fabrikam-Fiber-TFVC",
        "url": "vstfs:///Classification/Node/ebe8ac79-8d9f-4a5b-8d0a-c3095c81e70e"
      },
      "testCaseTitle": "Fail1",
      "stackTrace": "   at UnitTestProject1.UnitTest1.Fail1() in C:\\a\\1\\s\\UnitTestProject1\\UnitTestProject1\\UnitTest1.cs:line 20\r\n",
      "customFields": [],
      "failingSince": {
        "date": "2016-07-13T11:11:17.587Z",
        "build": {
          "id": 4,
          "definitionId": 0,
          "number": "20160713.1",
          "buildSystem": "Azure DevOps Services"
        }
      },
      "automatedTestName": "UnitTestProject1.UnitTest1.Fail1"
    },
    {
      "id": 100002,
      "project": {
        "id": "5c3d39df-a0cb-49da-be01-42e53792c0e1",
        "name": "Fabrikam-Fiber-TFVC",
        "url": "https://dev.azure.com/fabrikam/_apis/projects/Fabrikam-Fiber-TFVC"
      },
      "startedDate": "2016-07-13T11:12:48.623Z",
      "completedDate": "2016-07-13T11:12:48.623Z",
      "outcome": "NotExecuted",
      "revision": 1,
      "runBy": {
        "id": "a5cbf24d-799f-452e-82be-f049a85b5895",
        "displayName": "Fabrikam-Fiber-TFVC",
        "uniqueName": "fabrikamfiber.vsin@hotmail.com",
        "url": "https://vssps.dev.azure.com/fabrikam/_apis/Identities/a5cbf24d-799f-452e-82be-f049a85b5895",
        "imageUrl": "https://dev.azure.com/fabrikam/_api/_common/identityImage?id=a5cbf24d-799f-452e-82be-f049a85b5895"
      },
      "state": "Completed",
      "testCase": {
        "name": "Ignore1"
      },
      "testRun": {
        "id": "16",
        "name": "VSTest Test Run release any cpu",
        "url": "https://dev.azure.com/fabrikam/Fabrikam-Fiber-TFVC/_apis/test/Runs/16"
      },
      "lastUpdatedDate": "2016-07-13T11:12:49.123Z",
      "lastUpdatedBy": {
        "id": "375baa5b-5148-4e89-a549-ec202b722d89",
        "displayName": "Project Collection Build Service (fabrikam)",
        "uniqueName": "Build\\78b5727d-4a24-4ec8-9caf-704685572174",
        "url": "https://vssps.dev.azure.com/fabrikam/_apis/Identities/375baa5b-5148-4e89-a549-ec202b722d89",
        "imageUrl": "https://dev.azure.com/fabrikam/_api/_common/identityImage?id=375baa5b-5148-4e89-a549-ec202b722d89"
      },
      "priority": 20,
      "computerName": "TASKAGENT5-0055",
      "build": {
        "id": "5",
        "name": "20160713.2",
        "url": "https://dev.azure.com/fabrikam/_apis/build/Builds/5"
      },
      "createdDate": "2016-07-13T11:12:49.123Z",
      "url": "https://dev.azure.com/fabrikam/Fabrikam-Fiber-TFVC/_apis/test/Runs/16/Results/100002",
      "failureType": "None",
      "automatedTestStorage": "unittestproject1.dll",
      "automatedTestType": "UnitTest",
      "automatedTestTypeId": "13cdc9d9-ddb5-4fa4-a97d-d965ccfc6d4b",
      "automatedTestId": "ef9123e0-a097-7e9b-9a02-f526c7a640c0",
      "area": {
        "id": "37528",
        "name": "Fabrikam-Fiber-TFVC",
        "url": "vstfs:///Classification/Node/ebe8ac79-8d9f-4a5b-8d0a-c3095c81e70e"
      },
      "testCaseTitle": "Ignore1",
      "customFields": [],
      "automatedTestName": "UnitTestProject1.UnitTest1.Ignore1"
    }
  ]
}

With test iterations and workitem details

Sample Request

GET https://dev.azure.com/fabrikam/Fabrikam-Fiber-TFVC/_apis/test/Runs/31/results?detailsToInclude=WorkItems,Iterations&$top=100&api-version=7.1-preview.6

Sample Response

{
  "count": 1,
  "value": [
    {
      "id": 100000,
      "configuration": {
        "id": "4",
        "name": "Windows 8"
      },
      "project": {
        "id": "5c3d39df-a0cb-49da-be01-42e53792c0e1",
        "name": "Fabrikam-Fiber-TFVC",
        "url": "https://dev.azure.com/fabrikam/_apis/projects/Fabrikam-Fiber-TFVC"
      },
      "startedDate": "2016-07-26T04:22:53.273Z",
      "completedDate": "2016-07-26T04:22:56.953Z",
      "durationInMs": 2439,
      "outcome": "Failed",
      "owner": {
        "id": "a5cbf24d-799f-452e-82be-f049a85b5895",
        "displayName": "Fabrikam",
        "uniqueName": "fabrikamfiber.vsin@hotmail.com",
        "url": "https://vssps.dev.azure.com/fabrikam/_apis/Identities/a5cbf24d-799f-452e-82be-f049a85b5895",
        "imageUrl": "https://dev.azure.com/fabrikam/_api/_common/identityImage?id=a5cbf24d-799f-452e-82be-f049a85b5895"
      },
      "revision": 4,
      "runBy": {
        "id": "a5cbf24d-799f-452e-82be-f049a85b5895",
        "displayName": "Fabrikam",
        "uniqueName": "fabrikamfiber.vsin@hotmail.com",
        "url": "https://vssps.dev.azure.com/fabrikam/_apis/Identities/a5cbf24d-799f-452e-82be-f049a85b5895",
        "imageUrl": "https://dev.azure.com/fabrikam/_api/_common/identityImage?id=a5cbf24d-799f-452e-82be-f049a85b5895"
      },
      "state": "Completed",
      "testCase": {
        "id": "33",
        "name": "TestCase1"
      },
      "testRun": {
        "id": "31",
        "name": "Plan1 (Manual)",
        "url": "https://dev.azure.com/fabrikam/Fabrikam-Fiber-TFVC/_apis/test/Runs/31"
      },
      "lastUpdatedDate": "2016-07-26T04:23:11.553Z",
      "lastUpdatedBy": {
        "id": "a5cbf24d-799f-452e-82be-f049a85b5895",
        "displayName": "Fabrikam",
        "uniqueName": "fabrikamfiber.vsin@hotmail.com",
        "url": "https://vssps.dev.azure.com/fabrikam/_apis/Identities/a5cbf24d-799f-452e-82be-f049a85b5895",
        "imageUrl": "https://dev.azure.com/fabrikam/_api/_common/identityImage?id=a5cbf24d-799f-452e-82be-f049a85b5895"
      },
      "priority": 2,
      "createdDate": "2016-07-26T04:22:51.8Z",
      "iterationDetails": [
        {
          "id": 1,
          "outcome": "Failed",
          "errorMessage": "",
          "startedDate": "2016-07-26T04:22:54.517Z",
          "completedDate": "2016-07-26T04:22:56.953Z",
          "durationInMs": 2439,
          "actionResults": [
            {
              "actionPath": "00000002",
              "iterationId": 1,
              "url": "https://dev.azure.com/fabrikam/Fabrikam-Fiber-TFVC/_apis/test/Runs/31/Results/100000/Iterations/1/ActionResults/00000002",
              "outcome": "Failed",
              "startedDate": "2016-07-26T04:22:54Z",
              "completedDate": "2016-07-26T04:22:54Z"
            }
          ],
          "parameters": [],
          "attachments": [],
          "url": "https://dev.azure.com/fabrikam/Fabrikam-Fiber-TFVC/_apis/test/Runs/31/Results/100000/Iterations/1"
        }
      ],
      "associatedBugs": [
        {
          "id": "34",
          "name": "This step should pass.",
          "url": ""
        }
      ],
      "url": "https://dev.azure.com/fabrikam/Fabrikam-Fiber-TFVC/_apis/test/Runs/31/Results/100000",
      "failureType": "None",
      "area": {
        "id": "37528",
        "name": "Fabrikam-Fiber-TFVC",
        "url": "vstfs:///Classification/Node/ebe8ac79-8d9f-4a5b-8d0a-c3095c81e70e"
      },
      "testCaseTitle": "TestCase1",
      "customFields": []
    }
  ]
}

With workitem details

Sample Request

GET https://dev.azure.com/fabrikam/Fabrikam-Fiber-TFVC/_apis/test/Runs/26/results?detailsToInclude=WorkItems&$top=100&api-version=7.1-preview.6

Sample Response

{
  "count": 2,
  "value": [
    {
      "id": 100000,
      "comment": "Website theme is looking good",
      "project": {
        "id": "5c3d39df-a0cb-49da-be01-42e53792c0e1",
        "name": "Fabrikam-Fiber-TFVC",
        "url": "https://dev.azure.com/fabrikam/_apis/projects/Fabrikam-Fiber-TFVC"
      },
      "startedDate": "2016-07-14T09:38:29.127Z",
      "completedDate": "2016-07-14T09:38:29.127Z",
      "outcome": "Passed",
      "revision": 2,
      "state": "Completed",
      "testCase": {
        "name": "VerifyWebsiteTheme"
      },
      "testRun": {
        "id": "26",
        "name": "Fabrikam Fiber test run ",
        "url": "https://dev.azure.com/fabrikam/Fabrikam-Fiber-TFVC/_apis/test/Runs/26"
      },
      "lastUpdatedDate": "2016-07-14T09:38:28.94Z",
      "lastUpdatedBy": {
        "id": "a5cbf24d-799f-452e-82be-f049a85b5895",
        "displayName": "Fabrikam",
        "uniqueName": "fabrikamfiber.vsin@hotmail.com",
        "url": "https://vssps.dev.azure.com/fabrikam/_apis/Identities/a5cbf24d-799f-452e-82be-f049a85b5895",
        "imageUrl": "https://dev.azure.com/fabrikam/_api/_common/identityImage?id=a5cbf24d-799f-452e-82be-f049a85b5895"
      },
      "priority": 0,
      "createdDate": "2016-07-14T09:38:28.34Z",
      "associatedBugs": [
        {
          "id": "30",
          "name": "Bug for test VerifyWebsiteLinks",
          "url": ""
        }
      ],
      "url": "https://dev.azure.com/fabrikam/Fabrikam-Fiber-TFVC/_apis/test/Runs/26/Results/100000",
      "failureType": "None",
      "area": {
        "id": "37528",
        "name": "Fabrikam-Fiber-TFVC",
        "url": "vstfs:///Classification/Node/ebe8ac79-8d9f-4a5b-8d0a-c3095c81e70e"
      },
      "testCaseTitle": "VerifyWebsiteTheme",
      "customFields": [],
      "automatedTestName": "FabrikamFiber.WebSite.TestClass.VerifyWebsiteTheme"
    },
    {
      "id": 100001,
      "comment": "Website links are failing because of incorrect container id",
      "project": {
        "id": "5c3d39df-a0cb-49da-be01-42e53792c0e1",
        "name": "Fabrikam-Fiber-TFVC",
        "url": "https://dev.azure.com/fabrikam/_apis/projects/Fabrikam-Fiber-TFVC"
      },
      "startedDate": "2016-07-14T09:38:29.127Z",
      "completedDate": "2016-07-14T09:38:29.127Z",
      "outcome": "Failed",
      "revision": 2,
      "state": "Completed",
      "testCase": {
        "name": "VerifyWebsiteLinks"
      },
      "testRun": {
        "id": "26",
        "name": "Fabrikam Fiber test run ",
        "url": "https://dev.azure.com/fabrikam/Fabrikam-Fiber-TFVC/_apis/test/Runs/26"
      },
      "lastUpdatedDate": "2016-07-14T09:38:28.94Z",
      "lastUpdatedBy": {
        "id": "a5cbf24d-799f-452e-82be-f049a85b5895",
        "displayName": "Fabrikam",
        "uniqueName": "fabrikamfiber.vsin@hotmail.com",
        "url": "https://vssps.dev.azure.com/fabrikam/_apis/Identities/a5cbf24d-799f-452e-82be-f049a85b5895",
        "imageUrl": "https://dev.azure.com/fabrikam/_api/_common/identityImage?id=a5cbf24d-799f-452e-82be-f049a85b5895"
      },
      "priority": 0,
      "createdDate": "2016-07-14T09:38:28.34Z",
      "associatedBugs": [
        {
          "id": "30",
          "name": "Bug for test VerifyWebsiteLinks",
          "url": ""
        }
      ],
      "url": "https://dev.azure.com/fabrikam/Fabrikam-Fiber-TFVC/_apis/test/Runs/26/Results/100001",
      "failureType": "Known Issue",
      "area": {
        "id": "37528",
        "name": "Fabrikam-Fiber-TFVC",
        "url": "vstfs:///Classification/Node/ebe8ac79-8d9f-4a5b-8d0a-c3095c81e70e"
      },
      "testCaseTitle": "VerifyWebsiteLinks",
      "customFields": [],
      "automatedTestName": "FabrikamFiber.WebSite.TestClass.VerifyWebsiteLinks"
    }
  ]
}

定義

名前 説明
BuildReference

ビルドへの参照。

CustomTestField

ユーザー設定フィールド情報。 許可されるキー: 値のペア - ( AttemptId: int value, IsTestResultFlaky: bool)

FailingSince

テスト結果の情報以降に失敗する。

IdentityRef
ReferenceLinks

REST 参照リンクのコレクションを表す クラス。

ReleaseReference

リリースへの参照。

ResultDetails

テスト結果に含める詳細。 既定値はなしです。 その他の値は Iterations と WorkItems です。

ResultGroupType
ShallowReference

他のリソースへの抽象化された参照。 このクラスは、リンクを介して簡単に走査できる方法で他のリソースを参照する一様な方法でビルド データ コントラクトを提供するために使用されます。

SharedStepModel

共有ステップ作業項目への参照。

TestActionResultModel

テスト ステップの結果を表します。

TestCaseResult

テスト結果を表します。

TestCaseResultAttachmentModel

テスト イテレーションの添付ファイル情報をテストします。

TestCaseResultIdentifier

テスト結果への参照。

TestIterationDetailsModel

テストイテレーションの結果を表します。

TestResultParameterModel

テスト イテレーションのテスト パラメーター情報。

TestSubResult

テスト結果のサブ結果を表します。

BuildReference

ビルドへの参照。

名前 説明
branchName

string

ブランチ名。

buildSystem

string

ビルド システム。

definitionId

integer

ビルド定義 ID。

id

integer

ビルド ID。

number

string

ビルド番号。

repositoryId

string

リポジトリ ID。

uri

string

ビルド URI。

CustomTestField

ユーザー設定フィールド情報。 許可されるキー: 値のペア - ( AttemptId: int value, IsTestResultFlaky: bool)

名前 説明
fieldName

string

フィールド名。

value

object

フィールド値。

FailingSince

テスト結果の情報以降に失敗する。

名前 説明
build

BuildReference

失敗後のビルド参照。

date

string

失敗してからの時間 (UTC)。

release

ReleaseReference

失敗後のリリース参照。

IdentityRef

名前 説明
_links

ReferenceLinks

このフィールドには、グラフの件名に関する 0 個以上の興味深いリンクが含まれています。 これらのリンクを呼び出して、このグラフの主題に関する追加のリレーションシップや詳細情報を取得できます。

descriptor

string

記述子は、システムの実行中にグラフの件名を参照する主な方法です。 このフィールドは、アカウントと組織の両方で同じグラフの件名を一意に識別します。

directoryAlias

string

非推奨 - IdentityRef "_links" ディクショナリの "self" エントリで参照されている Graph ユーザーにクエリを実行することで取得できます

displayName

string

これは、グラフの件名の一意でない表示名です。 このフィールドを変更するには、ソース プロバイダーでその値を変更する必要があります。

id

string

imageUrl

string

非推奨 - IdentityRef "_links" ディクショナリの "アバター" エントリで使用できます

inactive

boolean

非推奨 - GraphUser "_links" ディクショナリの "membershipState" エントリで参照されている Graph メンバーシップの状態を照会することで取得できます

isAadIdentity

boolean

非推奨 - 記述子のサブジェクト型 (Descriptor.IsAadUserType/Descriptor.IsAadGroupType) から推論できます

isContainer

boolean

非推奨 - 記述子のサブジェクト型 (Descriptor.IsGroupType) から推論できます

isDeletedInOrigin

boolean

profileUrl

string

非推奨 - ToIdentityRef の既存のほとんどの実装では使用されていません

uniqueName

string

非推奨 - 代わりに Domain+PrincipalName を使用します

url

string

この URL は、このグラフの件名のソース リソースへの完全なルートです。

REST 参照リンクのコレクションを表す クラス。

名前 説明
links

object

リンクの読み取り時ビュー。 参照リンクは読み取り専用であるため、参照リンクは読み取り専用として公開する必要があります。

ReleaseReference

リリースへの参照。

名前 説明
attempt

integer

リリース試行回数。

creationDate

string

リリースの作成日 (UTC)。

definitionId

integer

リリース定義 ID。

environmentCreationDate

string

環境の作成日 (UTC)。

environmentDefinitionId

integer

リリース環境定義 ID。

environmentDefinitionName

string

リリース環境定義名。

environmentId

integer

リリース環境 ID。

environmentName

string

リリース環境名。

id

integer

リリース ID。

name

string

リリース名。

ResultDetails

テスト結果に含める詳細。 既定値はなしです。 その他の値は Iterations と WorkItems です。

名前 説明
iterations

string

テスト結果の反復の詳細をテストします。

none

string

テスト結果のコア フィールド。 コア フィールドには、State、Outcome、Priority、AutomatedTestName、AutomatedTestStorage、Comments、ErrorMessage などが含まれます。

point

string

テスト結果のポイントとプランの詳細。

subResults

string

テスト結果のサブ結果。

workItems

string

テスト結果に関連付けられている作業項目。

ResultGroupType

名前 説明
dataDriven

string

テスト結果の階層の種類。

generic

string

階層の種類が不明です。

none

string

テスト結果のリーフ ノード。

orderedTest

string

テスト結果の階層の種類。

rerun

string

テスト結果の階層の種類。

ShallowReference

他のリソースへの抽象化された参照。 このクラスは、リンクを介して簡単に走査できる方法で他のリソースを参照する一様な方法でビルド データ コントラクトを提供するために使用されます。

名前 説明
id

string

リソースの ID

name

string

リンクされたリソースの名前 (定義名、コントローラー名など)

url

string

リソースへの完全な http リンク

SharedStepModel

共有ステップ作業項目への参照。

名前 説明
id

integer

WorkItem 共有ステップ ID。

revision

integer

共有ステップの作業項目リビジョン。

TestActionResultModel

テスト ステップの結果を表します。

名前 説明
actionPath

string

テスト ケースワークアイテムのテスト ステップのパス識別子。 注: 1) ステップの 8 桁の 16 進数形式で表されます。 2) 内部的には、最初のステップのステップ ID 値は 2 で始まるので、actionPath = 00000002ステップ 9、ID = 10、actionPath = 000000a ステップ 15、ID =16、actionPath = 00000010 3) 共有ステップの actionPath がテスト ケースの親ステップと連結されます。 たとえば、00000003はテスト ステップのアクション パスを表し、00000001は共有ステップのアクション パスを示す0000000300000001の種類になります。

comment

string

結果のコメント。

completedDate

string

実行が完了した時刻 (UTC)。

durationInMs

number

実行時間。

errorMessage

string

結果のエラー メッセージ。

iterationId

integer

テスト アクションの結果のイテレーション ID。

outcome

string

結果のテスト結果。

sharedStepModel

SharedStepModel

共有ステップ作業項目への参照。

startedDate

string

実行が開始された時刻 (UTC)。

stepIdentifier

string

これはテスト ケースのステップ ID です。 共有ステップの場合は、テスト ケースワークアイテムの共有ステップのステップ ID です。共有ステップのステップ ID。 例: TestCase workitem には、2 つの手順があります。1) 通常のステップと ID = 1 2) 共有ステップと ID = 2。 共有ステップ内: a) Id を持つ通常のステップ = 1 最初のステップの StepIdentifier の値: "1" 2 番目のステップ: "2;1"

url

string

テスト アクションの結果の URL。 ホストされた環境では非推奨です。

TestCaseResult

テスト結果を表します。

名前 説明
afnStripId

integer

アクション記録の添付ファイル ID をテストします。

area

ShallowReference

テストのエリア パスへの参照。

associatedBugs

ShallowReference[]

テスト結果にリンクされているバグへの参照。

automatedTestId

string

dll 内のテスト メソッドを表す ID。

automatedTestName

string

実行されたテストの完全修飾名。

automatedTestStorage

string

テストが属するコンテナー。

automatedTestType

string

自動テストの種類。

automatedTestTypeId

string

自動テストの TypeId。

build

ShallowReference

テスト結果に関連付けられたビルドへの浅い参照。

buildReference

BuildReference

テスト結果に関連付けられているビルドへの参照。

comment

string

maxSize= 1000 文字のテスト結果にコメントします。

completedDate

string

テストの実行が完了した時刻 (UTC)。 完了日は StartedDate より大きくする必要があります。

computerName

string

テストが実行されたマシン名。

configuration

ShallowReference

テスト構成への参照。 「ShallowReference」と入力します。

createdDate

string

テスト結果が作成されたときのタイムスタンプ (UTC)。

customFields

CustomTestField[]

テスト結果の追加のプロパティ。

durationInMs

number

テストの実行時間 (ミリ秒単位)。 指定されていない場合、値は CompletedDate - StartedDate として設定されます

errorMessage

string

テスト実行中のエラー メッセージ。

failingSince

FailingSince

テスト結果の失敗が開始されたときの情報。

failureType

string

テスト結果の失敗の種類。 有効な値= (既知の問題、新しい問題、回帰、不明、なし)

id

integer

テスト結果の ID。

iterationDetails

TestIterationDetailsModel[]

手動テストにのみ使用されるテスト イテレーションのテスト結果の詳細。

lastUpdatedBy

IdentityRef

ID の最後に更新されたテスト結果への参照。

lastUpdatedDate

string

テスト結果の最終更新日時 (UTC)。

outcome

string

テスト結果のテスト結果。 有効な値 = (Unspecified、None、Passed、Failed、Inconclusive、Timeout、Aborted、Blocked、NotExecuted、Warning、Error、NotApplicable、Paused、InProgress、NotImpacted)

owner

IdentityRef

テスト所有者への参照。

priority

integer

実行されたテストの優先順位。

project

ShallowReference

チーム プロジェクトへの参照。

release

ShallowReference

テスト結果に関連付けられているリリースへの浅い参照。

releaseReference

ReleaseReference

テスト結果に関連付けられているリリースへの参照。

resetCount

integer

ResetCount。

resolutionState

string

テスト結果の解決状態。

resolutionStateId

integer

解決状態の ID。

resultGroupType

ResultGroupType

結果の階層の種類。既定値の None はリーフ ノードを意味します。

revision

integer

テスト結果のリビジョン番号。

runBy

IdentityRef

テストを実行した ID への参照。

stackTrace

string

maxSize= 1000 文字の Stacktrace。

startedDate

string

テスト実行が開始された時刻 (UTC)。

state

string

テスト結果の状態。 「TestRunState」と入力します。

subResults

TestSubResult[]

テスト結果内のサブ結果の一覧。ResultGroupType が None でない場合は、対応する型サブ結果が保持されます。

testCase

ShallowReference

実行されたテストへの参照。

testCaseReferenceId

integer

テスト結果で使用されるテストの参照 ID。 TestResultMetaData 型

testCaseRevision

integer

TestCaseRevision Number。

testCaseTitle

string

テストの名前。

testPlan

ShallowReference

テスト 計画テスト ケースの作業項目への参照は の一部です。

testPoint

ShallowReference

実行されたテスト ポイントへの参照。

testRun

ShallowReference

テスト実行への参照。

testSuite

ShallowReference

テスト スイートのテスト ケースの作業項目への参照は の一部です。

url

string

テスト結果の URL。

TestCaseResultAttachmentModel

テスト イテレーションの添付ファイル情報をテストします。

名前 説明
actionPath

string

テスト ケースワークアイテムのパス識別子テストステップ。

id

integer

添付ファイル ID。

iterationId

integer

イテレーション ID。

name

string

添付ファイルの名前。

size

integer

添付ファイルのサイズ。

url

string

添付ファイルの URL。

TestCaseResultIdentifier

テスト結果への参照。

名前 説明
testResultId

integer

テスト結果 ID。

testRunId

integer

テスト実行 ID。

TestIterationDetailsModel

テストイテレーションの結果を表します。

名前 説明
actionResults

TestActionResultModel[]

テスト ステップの結果、イテレーションが発生します。

attachments

TestCaseResultAttachmentModel[]

テストイテレーション結果の添付ファイルへの参照。

comment

string

テストイテレーションの結果にコメントを付けます。

completedDate

string

実行が完了した時刻 (UTC)。

durationInMs

number

実行時間。

errorMessage

string

テスト イテレーションの結果の実行中のエラー メッセージ。

id

integer

テストイテレーションの結果の ID。

outcome

string

テストイテレーションの結果の場合のテスト結果。

parameters

TestResultParameterModel[]

イテレーション内のパラメーターをテストします。

startedDate

string

実行が開始された時刻 (UTC)。

url

string

反復結果をテストする URL。

TestResultParameterModel

テスト イテレーションのテスト パラメーター情報。

名前 説明
actionPath

string

パラメーターが参照されるテスト ステップ パス。

iterationId

integer

イテレーション ID。

parameterName

string

パラメーターの名前。

stepIdentifier

string

これはテスト ケースのステップ ID です。 共有ステップの場合は、テスト ケースワークアイテムの共有ステップのステップ ID です。共有ステップのステップ ID。 例: TestCase workitem には、2 つの手順があります。1) 通常のステップと ID = 1 2) 共有ステップと ID = 2。 共有ステップ内: a) Id を持つ通常のステップ = 1 最初のステップの StepIdentifier の値: "1" 2 番目のステップ: "2;1"

url

string

テスト パラメーターの URL。 ホストされた環境では非推奨です。

value

string

パラメーターの値。

TestSubResult

テスト結果のサブ結果を表します。

名前 説明
comment

string

サブ結果のコメント。

completedDate

string

テスト実行が完了した時刻 (UTC)。

computerName

string

テストが実行されたマシン。

configuration

ShallowReference

テスト構成への参照。

customFields

CustomTestField[]

サブ結果の追加プロパティ。

displayName

string

サブ結果の名前。

durationInMs

integer

テスト実行の期間。

errorMessage

string

サブ結果のエラー メッセージ。

id

integer

サブ結果の ID。

lastUpdatedDate

string

結果が最後に更新された時刻 (UTC)。

outcome

string

サブ結果の結果。

parentId

integer

サブ結果の直接親 ID。

resultGroupType

ResultGroupType

結果の階層の種類。既定値の None はリーフ ノードを意味します。

sequenceId

integer

サブ結果のインデックス番号。

stackTrace

string

Stacktrace。

startedDate

string

テスト実行が開始された時刻 (UTC)。

subResults

TestSubResult[]

サブ結果内のサブ結果の一覧。ResultGroupType が None でない場合は、対応する型 sub 結果が保持されます。

testResult

TestCaseResultIdentifier

テスト結果への参照。

url

string

サブ結果の URL。