← All stories
● Covered by 1 source · 1 reportLow impact1 neutral

Microsoft.Testing.Platform improves test reporting for CI/CD pipelines

🔄 Updated 1d ago
New to BrevFeed? We gather this story from every outlet covering it into one summary — ranked by real-world impact, not just the latest headline — so you never miss what matters. What is BrevFeed? →

Key points

  • MTP 2.3.0+ offers inline test failure annotations.
  • Supports GitHub Actions via --report-gh.
  • Supports Azure DevOps via --report-azdo and --publish-azdo-test-results.
  • History-based triage for Azure DevOps identifies new vs. recurring failures.

Enhanced Test Reporting in MTP

Microsoft.Testing.Platform (MTP), which powers 'dotnet test' and test explorers in Visual Studio and VS Code, has introduced new reporting capabilities. These enhancements are designed to provide more immediate and actionable feedback on test failures within continuous integration (CI) environments. The goal is to reduce the time developers spend identifying the root cause of a failed build.

Inline Failure Annotations

A key feature is the ability to surface test failures directly within the platform where developers are already working. For GitHub Actions, enabling '--report-gh' displays failing tests as annotations on the relevant line of code. Skipped tests appear as warnings, and a summary is written to the workflow page. This eliminates the need to download separate report artifacts.

Similarly, Azure DevOps users can utilize '--report-azdo' for inline reporting. Additionally, '--publish-azdo-test-results' streams results into the Tests tab while the run is still in progress, rather than waiting for a separate publish step.

History-Based Triage for Azure DevOps

Azure DevOps offers an exclusive feature for history-based triage. This allows reviewers to differentiate between new regressions and recurring test failures, providing valuable context for debugging. This functionality helps teams prioritize and address issues more effectively by understanding their historical patterns.

Availability and Compatibility

Most of these reporting capabilities require MTP 2.3.0 or later. The examples provided were validated with MSTest.Sdk 4.3.3 and MTP 2.3.3. The GitHub Actions, JUnit, and CTRF reporters are currently available as preview packages. MTP supports various test frameworks including MSTest, NUnit, xUnit.net, TUnit, and Expecto.

✨ This summary was generated by AI from the outlets' reporting listed below. It is not independently verified and may contain errors — check the original sources. How BrevFeed works →

The daily brief

One email each morning: the day's tech stories, clustered across outlets and summarized. No account needed.

One email a day. Unsubscribe in one click, any time.

Today's brief

Spend a few minutes, get the whole day. Every topic's top stories in one hands-free rundown — listen, watch, or read the transcript.

~7 min · 6 stories · Aug 15

▶ Play today's brief Listen on Spotify

New every morning, and the back catalogue is archived by date.

Primary sources

GitHub microsoft/testfx

Reporting from

Microsoft.Testing.Platform (MTP) has updated its reporting features to provide inline test failure annotations in GitHub Actions and Azure DevOps, aiming to streamline the debugging process for developers. These updates, available in MTP 2.3.0 and later, integrate test results directly into developer workflows, reducing the need to search logs or download artifacts.