Getting Test Results in Azure DevOps Pipelines

Referencing the Visual Studio test runner

Configure Azure DevOps

These instructions are written for Version 2.* of the Visual Studio Test task.

Locate test assemblies

Enable Code Coverage (optional)

Viewing the results

After a successful build, the test results are available on the main view of the build. It should look something like this:

Comments

Copyright © .NET Foundation. Contributions welcomed at https://github.com/xunit/xunit/tree/gh-pages.