Skip to content

Prefer setting TrxFullyQualifiedTypeNameProperty per TestMethodIdentifierProperty#7650

Merged
Evangelink merged 1 commit intomainfrom
dev/ygerges/TrxFullyQualifiedTypeNameProperty
Apr 1, 2026
Merged

Prefer setting TrxFullyQualifiedTypeNameProperty per TestMethodIdentifierProperty#7650
Evangelink merged 1 commit intomainfrom
dev/ygerges/TrxFullyQualifiedTypeNameProperty

Conversation

@Youssef1313
Copy link
Copy Markdown
Member

@Youssef1313 Youssef1313 commented Apr 1, 2026

Related to nunit/nunit3-vs-adapter#1351

Once NUnit adds TestMethodIdentifierProperty, we want that to be used for TrxFullyQualifiedTypeNameProperty.

The alternative for this would be updating TRX extension to consider TestMethodIdentifierProperty before it considers TrxFullyQualifiedTypeNameProperty altogether. Eventually, maybe we should deprecate TrxFullyQualifiedTypeNameProperty.

Copilot AI review requested due to automatic review settings April 1, 2026 13:56
Copy link
Copy Markdown
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

Updates the VSTestBridge TestResult → MTP TestNode conversion so TRX className derivation prefers TestMethodIdentifierProperty (when present) over parsing TestCase.FullyQualifiedName, aligning TRX output with the upcoming NUnit TestMethodIdentifierProperty support.

Changes:

  • Reads TestMethodIdentifierProperty from the TestNode property bag when TRX is enabled.
  • Populates TrxFullyQualifiedTypeNameProperty from TestMethodIdentifierProperty.Namespace + TypeName, falling back to parsing TestCase.FullyQualifiedName only when the identifier property is absent.

@Evangelink Evangelink merged commit b08f5af into main Apr 1, 2026
15 checks passed
@Evangelink Evangelink deleted the dev/ygerges/TrxFullyQualifiedTypeNameProperty branch April 1, 2026 19:22
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