Skip to main content

List test runs

List the test runs of a project, newest first; optionally only those of one plan or in one state.

Command in the Azure DevOps toolkit · id ooa.azure_devops/list_test_runs · 6 inputs (3 required), 2 outputs

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.
Plan IDNumberNo0Only runs of this plan; 0 for all.
StateStringNoOnly runs in this state; any when empty.
Maximum resultsNumberNo100Most items to return; pages are read until this many are found.

Outputs​

OutputTypeWhat it is
tableTableColumns: id, name, state, total_tests, passed_tests, started, completed.
countNumberNumber of runs.