Skip to content

[Test] Update Arcade and Xunit.Runner - #79412

Closed
JoeRobich wants to merge 11 commits into
mainfrom
dev/jorobich/update-arcade-xunit3
Closed

JoeRobich wants to merge 11 commits into
mainfrom
dev/jorobich/update-arcade-xunit3

Conversation

@JoeRobich

Copy link
Copy Markdown
Member

No description provided.

@Youssef1313

Copy link
Copy Markdown
Member

@JoeRobich Is the intent of this PR to update to xunit.v3? Or just xunit.runner.visualstudio 3.x? The latter is being done in #79343. The former will be more complicated. I had a look at it before and had also quick discussion with Sam about it few months ago. One main issue will be https://github.com/microsoft/vs-extension-testing.

@JoeRobich

Copy link
Copy Markdown
Member Author

Is the intent of this PR to update to xunit.v3?

@Youssef1313 No. I've just opened a series of PRs and this was the 3rd of them. If you recall any of the details about what would be involved with moving vs-extension-testing to v3, it would be useful to have those in an issue.

@JoeRobich JoeRobich changed the title [Test] Update Arcade and Xunit 3 [Test] Update Arcade and Xunit.Runner Jul 16, 2025
@Youssef1313

Youssef1313 commented Jul 16, 2025 •

Copy link
Copy Markdown
Member

Is the intent of this PR to update to xunit.v3?

@Youssef1313 No. I've just opened a series of PRs and this was the 3rd of them. If you recall any of the details about what would be involved with moving vs-extension-testing to v3, it would be useful to have those in an issue.

Well, it seemed not possible to move vs-extension-testing to v3 at all without forking xunit due to all types dropping MarshalByRefObject so we cannot move stuff to run out-of-process. Xunit has no interest to bring back MarshalByRefObject, and I wasn't able to see any good workaround.

My suggestion:

  • If you are moving to xunit.v3, it will be a good idea to switch to xunit.v3+MTP and not use xunit.v3+VSTest.
  • In that case, I think it's a better idea to not have vs-extension-testing use xunit or any test framework at all. Instead, it could be implemented as it's own test framework directly with MTP.

@JoeRobich JoeRobich closed this Jul 16, 2025
@JoeRobich
JoeRobich deleted the dev/jorobich/update-arcade-xunit3 branch July 17, 2025 20:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants