Repository navigation
Migrate test infrastructure to Microsoft Testing Platform with xUnit v3 - #882
Merged
Merged
Conversation
Co-authored-by: sebastienros <1165805+sebastienros@users.noreply.github.com>
sebastienros
marked this pull request as ready for review
November 25, 2025 01:15
Copilot
AI
changed the title
[WIP] Update project to use Microsoft Testing Platform and xunit.v3.core.mtp-v2
Migrate test infrastructure to Microsoft Testing Platform with xUnit v3
Nov 25, 2025
Owner
|
@copilot Update the github workflows, they seem to use invalid command lines to run the tests |
Co-authored-by: sebastienros <1165805+sebastienros@users.noreply.github.com>
Contributor
Author
Updated the GitHub workflows in commit b2e715f. Removed the |
sebastienros
deleted the
copilot/update-to-microsoft-testing-platform
branch
November 25, 2025 01:40
This was referenced Nov 16, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Migrates from xUnit 2.x with VSTest runner to xUnit v3 with Microsoft Testing Platform (MTP v2).
Changes
Package updates (Directory.Packages.props)
xunit 2.9.3→xunit.v3.core.mtp-v2 3.2.0+xunit.v3.assert 3.2.0xunit.runner.visualstudio 3.1.5GitHubActionsTestLogger 3.0.1(not compatible with MTP)Test project (Fluid.Tests.csproj)
GitHubActionsTestLoggerreferenceConfiguration
"test": { "runner": "Microsoft.Testing.Platform" }for .NET 10+ compatibilityxunit.runner.json(obsolete with MTP)GitHub Workflows
--logger GitHubActionsoption (not supported by MTP)--logger GitHubActionsoption (not supported by MTP)Code compatibility fixes
using Xunit.Abstractions;—ITestOutputHelpermoved toXunitnamespace in v3xUnit1051(CancellationToken) to suggestion levelAll 1361 tests pass across net8.0, net9.0, and net10.0.
Original prompt
This pull request was created as a result of the following prompt from Copilot chat.
✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.