Insights Azure DevOps test summary
insights_azdo_test_summaryPre-aggregated Azure DevOps test results, identical to the Insights test-reports dashboard. USE THIS for pass rate / failure counts / run comparisons on Azure DevOps Test Plans — never tally rows yourself. Pick ONE view: plan = a test plan (optionally one suite): rollup of its test points (latest outcome per point). runs = specific run ids (1-10): per-run counts, delta vs the previous run, and for 2+ runs a combined rollup that is DE-DUPLICATED by test case (the most recently executed result per case wins), so it will not equal the sum of the per-run rows. recent_runs = the newest runs (optionally of one plan): per-run counts for a pass-rate-per-run chart. To COMPARE two plans or run sets, call once per side. Outcomes are bucketed into the five statuses: failed includes aborted/error/timeout/warning; retest includes paused/in-progress/inconclusive; untested includes not-executed/none/not-applicable. Counts are per status: passed, failed, blocked, retest, untested (total = their sum). pass_rate_executed_pct = passed / (passed + failed + blocked + retest), so untested tests are EXCLUDED and a half-run suite can look better than it is; pass_rate_total_pct = passed / total, so untested tests count against it. Both are null when the denominator is 0. State which one you quote, and use the same one on both sides of a comparison. Chart per-run rows with an ra-chart block and give the user the dashboard_url. Read-only; needs Azure DevOps connected in Settings > Integrations.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| view | Yes | `plan` needs planId; `runs` needs runIds; `recent_runs` takes optional planId. | |
| fresh | No | Bypass the short-lived cache. Only set when the user says results just changed. | |
| limit | No | recent_runs only: how many newest runs (default 10, max 30). | |
| planId | No | Test plan id (view=plan, or filter for recent_runs). | |
| runIds | No | Azure DevOps test run ids (view=runs). | |
| suiteId | No | view=plan only: restrict to one suite. | |
| projectId | Yes | Azure DevOps project id (GUID). Find it with insights_azdo_browse. |