# AZD: Review pipeline test results

> For the complete documentation index, see [llms.txt](https://edgafner.github.io/llms.txt).

> **TL;DR**
> Open: a run tab, View Pipeline Diagram, then the Tests tab
>
>
>
> Requires: a pipeline that publishes test results

When a pipeline publishes test results, AZD shows them on the Tests tab of the run's pipeline diagram. From a failed test you can open its source, read the stack trace or associate it with a manual test case.

## Open the test results

Procedure: Open the test results of a run

1. In the AZD Pipelines tool window, open a run.

2. Click View Pipeline Diagram.

3. In the Pipeline !<id> editor tab, select the Tests tab.

![Run tab next to the Tests tab with the test summary and a tree of test classes](images/pipeline_test_results_v2.png)

The summary row shows the total, passed, failed, skipped and other tests, the pass rate and the duration. Tests are grouped by class.

## Sort and filter tests

Use the toolbar above the tree:

* Click Filter by Outcome (the filter icon) and select the outcomes to show. Each outcome shows its number of tests; Clear shows all tests again.

* Click the sort icon and select Default, By Name or By Duration. Select Descending to reverse the order.

## Work with a test

Right-click a test or a test class:

Jump to Test
: Opens the test method, or the test class for a group, in the editor.

Copy Test Name
: Copies the full test name.

Associate to a Test Case
: Associates the automated test with a manual test case. See [Associate tests with test cases](#associate-test-case).

Open in Browser
: Opens the test result on Azure DevOps.

Analyze Test Stack Trace
: Opens the stack trace of a failed test in a <Stacktrace> tab with links to your code.

Expand All, Collapse All
: Expands or collapses the tree.

## Associate tests with test cases

Associating an automated test with a manual test case in Azure Test Plans lets Azure DevOps track that test case through your pipeline.

Procedure: Associate a test with a test case

1. Right-click the test and select Associate to a Test Case.

2. In the Associate Pipeline Test to Test Case dialog, type the test case ID or title in Test case and select it from the list.

The list marks test cases that are already associated with another test.

![Associate Pipeline Test to Test Case dialog with matching test cases listed for the typed ID](images/test_case_association.png)

3. Click Associate.

If the test case was associated with another test, the new association replaces the old one.

When a test already has associations, the dialog lists them under Existing Test Cases Associations. To remove one, click its delete icon and confirm.

## See also

### Related topics

[AZD: Work with pipelines](azure-devops-pipelines.html) [AZD: Pipeline metrics and agent pools](azd-pipeline-metrics.html)

### Useful resources

[Review test results (Microsoft Learn)](https://learn.microsoft.com/en-us/azure/devops/pipelines/test/review-continuous-test-results-after-build) [Associate automated tests with test cases (Microsoft Learn)](https://learn.microsoft.com/en-us/azure/devops/test/associate-automated-test-with-test-case)

