Skip to main content

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​

InputTypeRequiredDefaultWhat it is
Organization address (URL)StringYesOrganization or collection address, e.g. https://dev.azure.com/contoso, or https://devops.contoso.local/tfs/DefaultCollection for Azure DevOps Server.
Personal access tokenCredentialYesPersonal 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.
ProjectStringYesProject name, e.g. Finance Portal.
Run IDNumberYesTest run id.

Outputs​

OutputTypeWhat it is
runDictionaryKeys: id, name, state, total_tests, passed_tests, failed_tests, incomplete_tests, started, completed, url, outcomes (a count per outcome, G5).