Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

[tests] Improve test summary to include up to 3 failing unit tests.#24282

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Draft
rolfbjarne wants to merge3 commits intomain
base:main
Choose a base branch
Loading
fromdev/rolf/tests-improve-test-summary

Conversation

@rolfbjarne
Copy link
Member

No description provided.

Copy link
Contributor

CopilotAI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

Pull Request Overview

This PR improves test result summaries by adding detailed information about up to 3 failing unit tests from TRX test result files. The changes introduce a new TRX parser utility that extracts test failure details and integrates it into multiple reporting systems.

  • Adds a newTrxParser utility class to parse TRX test result files and extract failed test information
  • Updates markdown and HTML report writers to display the first 3 failing tests with truncated names and messages
  • Modifies PowerShell test results script to include parsed TRX content in summaries

Reviewed Changes

Copilot reviewed 6 out of 6 changed files in this pull request and generated 5 comments.

Show a summary per file
FileDescription
tests/common/ParseTrxFile.csNew TRX parser utility class that extracts failed test information from TRX XML files
tests/xharness/xharness.csprojLinks the new ParseTrxFile.cs into the xharness project
tests/xharness/Jenkins/Reports/MarkdownReportWriter.csIntegrates TRX parsing to display up to 3 failing unit tests in markdown reports with aCap string extension method
scripts/create-windows-html-report/create-windows-html-report.csprojLinks ParseTrxFile.cs into the HTML report generator project
scripts/create-windows-html-report/create-windows-html-report.csRefactors to use TrxParser instead of inline XML parsing for cleaner code
tools/devops/automation/scripts/TestResults.psm1Updates PowerShell script to parse and include TRX results in test summaries

rolfbjarneand others added2 commitsNovember 21, 2025 08:58
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

Copilot code reviewCopilotCopilot left review comments

At least 1 approving review is required to merge this pull request.

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

2 participants

@rolfbjarne

[8]ページ先頭

©2009-2025 Movatter.jp