Repository navigation
chore(deps): migrate tests to xunit.v3 4.0.3 - #9
Merged
Merged
Conversation
Use xunit.v3.mtp-off 4.0.3 so the existing VSTest pipeline and coverlet XPlat coverage keep working on the .NET 10/11 SDKs, and bump xunit.runner.visualstudio to 4.0.1. Replace the obsolete CollectionBehavior(DisableTestParallelization) with Parallelization(Mode = None). Convert ExternalTableTests to async with TestContext.Current.CancellationToken, which fixes the new xUnit1069 analyzer error and lets the configured timeouts cancel in-flight commands.
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.
Supersedes #7.
xunit.v3.mtp-off4.0.3 to keep the existing VSTest + coverletXPlat Code Coveragepipeline working on the .NET 10/11 SDKs.xunit.runner.visualstudioto 4.0.1.CollectionBehavior(DisableTestParallelization = true)withParallelization(Mode = ParallelMode.None).ExternalTableTeststo async withTestContext.Current.CancellationToken; this fixes the xUnit1069 analyzer error and makes the configured timeouts cancel in-flight commands.Local validation: 328 unit tests pass on net10.0/net11.0, coverage gates pass,
dotnet format --verify-no-changesis clean, and the liveExternalTableTestsclass passes (8/8).