Update test results
Record the outcome of tests in a run: one row per result, with its outcome and, if you like, a comment, how long it took and an error.
Command in the Azure DevOps toolkit · id ooa.azure_devops/update_test_results · 5 inputs (5 required), 1 output
Inputs
| Input | Type | Required | Default | What it is |
|---|---|---|---|---|
| Organization address (URL) | String | Yes | Organization or collection address, e.g. https://dev.azure.com/contoso, or https://devops.contoso.local/tfs/DefaultCollection for Azure DevOps Server. | |
| Personal access token | Credential | Yes | Personal access token from the vault, with the scopes this action needs (e.g. Work Items read and write); a Microsoft Entra ID token works too. Or leave it empty and choose a connection that signs in, which gets and renews the token. | |
| Project | String | Yes | Project name, e.g. Finance Portal. | |
| Run ID | Number | Yes | Test run id. | |
| Results | Table | Yes | Columns: result_id (or test_point_id), outcome (Passed, Failed, Blocked, NotApplicable, Timeout, Aborted, Inconclusive, NotExecuted...), and optionally comment, duration_seconds, error_message. |
Outputs
| Output | Type | What it is |
|---|---|---|
| updated | Number | How many results were recorded. |