-
Notifications
You must be signed in to change notification settings - Fork 2.5k
Migrate xUnit v3 with Microsoft Testing Platform v2 #18590
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
…ow CLI syntax Co-authored-by: sebastienros <[email protected]>
|
@copilot Some packages like xunit.runner.visualstudio could be removed now I believe. |
Co-authored-by: sebastienros <[email protected]>
Removed Warning Firewall rules blocked me from connecting to one or more addresses (expand for details)I tried to connect to the following addresses, but was blocked by firewall rules:
If you need me to access, download, or install something from one of these locations, you can either:
|
|
This pull request has merge conflicts. Please resolve those before requesting a review. |
|
@copilot five the better conflicts with main branch |
|
@copilot sorry, fix the merge conflicts with main branch |
I'm unable to resolve merge conflicts directly as I cannot pull branches from GitHub. Could you please resolve the conflicts with main and I can continue with any additional changes needed afterward? |
Migrates test infrastructure from xUnit v3 (MTP v1) to xUnit v3 with Microsoft Testing Platform v2. Updates CLI syntax in workflows to match MTP v2 requirements.
Changes
xunit.v3→xunit.v3.mtp-v2in Directory.Packages.props and test projects"test": { "runner": "Microsoft.Testing.Platform" }configurationdotnet testCLI syntax for MTP v2 compatibilityxunit.runner.visualstudiopackage (no longer needed with MTP v2)CLI Syntax Update
MTP v2 requires
--projectflag instead of positional arguments:Updated in:
pr_ci.yml,main_ci.yml,mac_unit_test_ci.yml,preview_ci.yml,release_ci.ymlOriginal prompt
💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.