Get test run details
Read a test run: state, counts of passed, failed and incomplete tests, dates.
Command in the Azure DevOps toolkit · id ooa.azure_devops/get_test_run · 4 inputs (4 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. |
Outputs
| Output | Type | What it is |
|---|---|---|
| run | Dictionary | Keys: id, name, state, total_tests, passed_tests, failed_tests, incomplete_tests, started, completed, url, outcomes (a count per outcome, G5). |