Skip to content

Conversation

@Youssef1313
Copy link
Member

@Youssef1313 Youssef1313 commented Aug 18, 2025

Related to #1285

@Youssef1313 Youssef1313 mentioned this pull request Aug 18, 2025
65 tasks
Copy link
Member

@nohwnd nohwnd left a comment

Choose a reason for hiding this comment

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

Looks great. Out of curiosity, is there some way that the user won't have the attributes available but would still be able to use mstest v4? (e.g. using an old language verison, outdated compiler that still can compile our minimal TFM, or something similar).

@Youssef1313
Copy link
Member Author

user won't have the attributes available

The attributes are available in all our supported target frameworks. We don't use any polyfills for them in the base TestMethodAttribute.

@Youssef1313 Youssef1313 requested a review from nohwnd August 19, 2025 08:02
Copy link
Member

@Evangelink Evangelink left a comment

Choose a reason for hiding this comment

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

LGTM - it could be good to add one more test with caller file path defined after caller line number just to ensure we don't rely on their order (maybe even with another optional parameter in between).

@Youssef1313 Youssef1313 merged commit bb4a0c2 into rel/4.0 Aug 20, 2025
9 checks passed
@Youssef1313 Youssef1313 deleted the dev/ygerges/testmethod-inheritance-analyzer branch August 20, 2025 07:45
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.

4 participants