Skip to content

Conversation

@rolfbjarne
Copy link
Member

No description provided.

@rolfbjarne rolfbjarne requested a review from Copilot November 18, 2025 13:56
Copilot finished reviewing on behalf of rolfbjarne November 18, 2025 14:02
Copy link
Contributor

Copilot AI 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 new TrxParser 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
File Description
tests/common/ParseTrxFile.cs New TRX parser utility class that extracts failed test information from TRX XML files
tests/xharness/xharness.csproj Links the new ParseTrxFile.cs into the xharness project
tests/xharness/Jenkins/Reports/MarkdownReportWriter.cs Integrates TRX parsing to display up to 3 failing unit tests in markdown reports with a Cap string extension method
scripts/create-windows-html-report/create-windows-html-report.csproj Links ParseTrxFile.cs into the HTML report generator project
scripts/create-windows-html-report/create-windows-html-report.cs Refactors to use TrxParser instead of inline XML parsing for cleaner code
tools/devops/automation/scripts/TestResults.psm1 Updates PowerShell script to parse and include TRX results in test summaries

@vs-mobiletools-engineering-service2

This comment has been minimized.

@vs-mobiletools-engineering-service2

This comment has been minimized.

@vs-mobiletools-engineering-service2

This comment has been minimized.

@vs-mobiletools-engineering-service2

This comment has been minimized.

@vs-mobiletools-engineering-service2

This comment has been minimized.

@vs-mobiletools-engineering-service2

This comment has been minimized.

@vs-mobiletools-engineering-service2

This comment has been minimized.

@vs-mobiletools-engineering-service2

This comment has been minimized.

@vs-mobiletools-engineering-service2

This comment has been minimized.

@vs-mobiletools-engineering-service2

This comment has been minimized.

@vs-mobiletools-engineering-service2

This comment has been minimized.

@vs-mobiletools-engineering-service2

This comment has been minimized.

@vs-mobiletools-engineering-service2

This comment has been minimized.

@vs-mobiletools-engineering-service2

This comment has been minimized.

@vs-mobiletools-engineering-service2

This comment has been minimized.

@vs-mobiletools-engineering-service2

This comment has been minimized.

@vs-mobiletools-engineering-service2

This comment has been minimized.

@vs-mobiletools-engineering-service2

This comment has been minimized.

@vs-mobiletools-engineering-service2

This comment has been minimized.

@vs-mobiletools-engineering-service2

This comment has been minimized.

@rolfbjarne rolfbjarne marked this pull request as ready for review December 5, 2025 07:44
@rolfbjarne rolfbjarne enabled auto-merge (squash) December 5, 2025 07:45
@vs-mobiletools-engineering-service2

This comment has been minimized.

@vs-mobiletools-engineering-service2

This comment has been minimized.

@vs-mobiletools-engineering-service2
Copy link
Collaborator

✅ [CI Build #42c4cd9] Build passed (Build packages) ✅

Pipeline on Agent
Hash: 42c4cd9aaf57f4a28775fc85e22cb10ebe33dd50 [PR build]

@vs-mobiletools-engineering-service2
Copy link
Collaborator

✅ [PR Build #42c4cd9] Build passed (Detect API changes) ✅

Pipeline on Agent
Hash: 42c4cd9aaf57f4a28775fc85e22cb10ebe33dd50 [PR build]

@vs-mobiletools-engineering-service2
Copy link
Collaborator

✅ [CI Build #42c4cd9] Build passed (Build macOS tests) ✅

Pipeline on Agent
Hash: 42c4cd9aaf57f4a28775fc85e22cb10ebe33dd50 [PR build]

@vs-mobiletools-engineering-service2
Copy link
Collaborator

💻 [CI Build #42c4cd9] Tests on macOS X64 - Mac Sonoma (14) passed 💻

All tests on macOS X64 - Mac Sonoma (14) passed.

Pipeline on Agent
Hash: 42c4cd9aaf57f4a28775fc85e22cb10ebe33dd50 [PR build]

@vs-mobiletools-engineering-service2
Copy link
Collaborator

💻 [CI Build #42c4cd9] Tests on macOS M1 - Mac Monterey (12) passed 💻

All tests on macOS M1 - Mac Monterey (12) passed.

Pipeline on Agent
Hash: 42c4cd9aaf57f4a28775fc85e22cb10ebe33dd50 [PR build]

@vs-mobiletools-engineering-service2
Copy link
Collaborator

💻 [CI Build #42c4cd9] Tests on macOS M1 - Mac Ventura (13) passed 💻

All tests on macOS M1 - Mac Ventura (13) passed.

Pipeline on Agent
Hash: 42c4cd9aaf57f4a28775fc85e22cb10ebe33dd50 [PR build]

@vs-mobiletools-engineering-service2
Copy link
Collaborator

💻 [CI Build #42c4cd9] Tests on macOS arm64 - Mac Sequoia (15) passed 💻

All tests on macOS arm64 - Mac Sequoia (15) passed.

Pipeline on Agent
Hash: 42c4cd9aaf57f4a28775fc85e22cb10ebe33dd50 [PR build]

@vs-mobiletools-engineering-service2
Copy link
Collaborator

💻 [CI Build #42c4cd9] Tests on macOS arm64 - Mac Tahoe (26) passed 💻

All tests on macOS arm64 - Mac Tahoe (26) passed.

Pipeline on Agent
Hash: 42c4cd9aaf57f4a28775fc85e22cb10ebe33dd50 [PR build]

@vs-mobiletools-engineering-service2
Copy link
Collaborator

✅ API diff for current PR / commit

NET (empty diffs)

✅ API diff vs stable

NET (empty diffs)

ℹ️ Generator diff

Generator Diff: vsdrops (html) vsdrops (raw diff) gist (raw diff) - Please review changes)

Pipeline on Agent
Hash: 42c4cd9aaf57f4a28775fc85e22cb10ebe33dd50 [PR build]

@vs-mobiletools-engineering-service2
Copy link
Collaborator

🔥 [CI Build #42c4cd9] Test results 🔥

Test results

❌ Tests failed on VSTS: test results

0 tests crashed, 1 tests failed, 116 tests passed.

Failures

❌ fsharp tests

1 tests failed, 3 tests passed.

Failed tests

  • fsharp/tvOS - simulator/Debug: Crashed

Html Report (VSDrops) Download

Successes

✅ cecil: All 1 tests passed. Html Report (VSDrops) Download
✅ dotnettests (iOS): All 1 tests passed. Html Report (VSDrops) Download
✅ dotnettests (MacCatalyst): All 1 tests passed. Html Report (VSDrops) Download
✅ dotnettests (macOS): All 1 tests passed. Html Report (VSDrops) Download
✅ dotnettests (Multiple platforms): All 1 tests passed. Html Report (VSDrops) Download
✅ dotnettests (tvOS): All 1 tests passed. Html Report (VSDrops) Download
✅ framework: All 2 tests passed. Html Report (VSDrops) Download
✅ generator: All 5 tests passed. Html Report (VSDrops) Download
✅ interdependent-binding-projects: All 4 tests passed. Html Report (VSDrops) Download
✅ introspection: All 4 tests passed. Html Report (VSDrops) Download
✅ linker: All 44 tests passed. Html Report (VSDrops) Download
✅ monotouch (iOS): All 9 tests passed. Html Report (VSDrops) Download
✅ monotouch (MacCatalyst): All 11 tests passed. Html Report (VSDrops) Download
✅ monotouch (macOS): All 9 tests passed. Html Report (VSDrops) Download
✅ monotouch (tvOS): All 9 tests passed. Html Report (VSDrops) Download
✅ msbuild: All 2 tests passed. Html Report (VSDrops) Download
✅ windows: All 3 tests passed. Html Report (VSDrops) Download
✅ xcframework: All 4 tests passed. Html Report (VSDrops) Download
✅ xtro: All 1 tests passed. Html Report (VSDrops) Download

Pipeline on Agent
Hash: 42c4cd9aaf57f4a28775fc85e22cb10ebe33dd50 [PR build]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants