Update to xunit.v3 and Microsoft.Testing.Platform#4170
Open
Youssef1313 wants to merge 6 commits intoactions:mainfrom
Open
Update to xunit.v3 and Microsoft.Testing.Platform#4170Youssef1313 wants to merge 6 commits intoactions:mainfrom
Youssef1313 wants to merge 6 commits intoactions:mainfrom
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
This PR updates the testing framework from xunit v2 to xunit v3 and migrates to the Microsoft.Testing.Platform runner. The update consolidates three separate xunit v2 packages into a single unified package while also relocating and updating the SDK configuration.
Key Changes
- Migrates from xunit v2 (Microsoft.NET.Test.Sdk, xunit 2.7.1, xunit.runner.visualstudio 2.8.2) to xunit v3 (xunit.v3.mtp-v2 3.2.1)
- Moves global.json from src/ directory to repository root with updated SDK and test runner configuration
- Enables Microsoft.Testing.Platform runner in Directory.Build.props
Reviewed changes
Copilot reviewed 4 out of 4 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
| src/global.json | Removes the old SDK configuration file from src/ directory |
| global.json | Adds new SDK configuration at repository root with SDK version 10.0.101 and Microsoft.Testing.Platform runner |
| src/Test/Test.csproj | Replaces three xunit v2 packages with single xunit.v3.mtp-v2 package |
| src/Directory.Build.props | Adds UseMicrosoftTestingPlatformRunner property to enable the new test runner |
2093545 to
9bed1f9
Compare
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.
No description provided.