Result Meta Data - Update

テスト結果メタデータのプロパティを更新する

PATCH https://vstmr.dev.azure.com/{organization}/{project}/_apis/testresults/results/resultmetadata/{testCaseReferenceId}?api-version=7.1-preview.4

URI パラメーター

名前 / 必須 説明
organization
path True

string

Azure DevOps 組織の名前です。

project
path True

string

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

testCaseReferenceId
path True

integer

int32

更新するテスト結果の TestCaseReference ID。

api-version
query True

string

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

要求本文

名前 説明
flakyIdentifiers

TestFlakyIdentifier[]

不安定な識別子の一覧

応答

名前 説明
200 OK

TestResultMetaData

正常な操作

セキュリティ

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_write テスト 計画、ケース、結果、その他のテスト管理関連の成果物を読み取り、作成、更新する機能を付与します。

Update test result metadata

Sample Request

PATCH https://vstmr.dev.azure.com/fabrikam/Fabrikam/_apis/testresults/results/resultmetadata/1?api-version=7.1-preview.4

{
  "flakyIdentifiers": [
    {
      "branchName": "refs/heads/master",
      "isFlaky": true
    }
  ]
}

Sample Response

{
  "testCaseReferenceId": 1,
  "priority": 0
}

定義

名前 説明
TestFlakyIdentifier

不安定な識別子をテストする

TestResultMetaData

テスト結果のメタデータを表します。

TestResultMetaDataUpdateInput

TestResultMetaData 入力を表します

TestFlakyIdentifier

不安定な識別子をテストする

名前 説明
branchName

string

Flakiness をマーク/マーク解除する必要があるブランチ名

isFlaky

boolean

フラキネスの状態

TestResultMetaData

テスト結果のメタデータを表します。

名前 説明
automatedTestName

string

テスト結果の AutomatedTestName。

automatedTestStorage

string

テスト結果の AutomatedTestStorage。

flakyIdentifiers

TestFlakyIdentifier[]

TestCaseReferenceId の不安定な識別子の一覧

owner

string

テスト結果の所有者。

priority

integer

テスト結果の優先度。

testCaseReferenceId

integer

TestCaseReference の ID。

testCaseTitle

string

テスト結果の TestCaseTitle。

TestResultMetaDataUpdateInput

TestResultMetaData 入力を表します

名前 説明
flakyIdentifiers

TestFlakyIdentifier[]

不安定な識別子の一覧