Skip to content

chore(deps): migrate tests to xunit.v3 4.0.3 - #9

Merged
KrzysztofDusko merged 1 commit into
masterfrom
chore/xunit-v3-4
Nov 23, 2026
Merged

KrzysztofDusko merged 1 commit into
masterfrom
chore/xunit-v3-4

Conversation

@KrzysztofDusko

Copy link
Copy Markdown
Member

Supersedes #7.

  • Uses xunit.v3.mtp-off 4.0.3 to keep the existing VSTest + coverlet XPlat Code Coverage pipeline working on the .NET 10/11 SDKs.
  • Bumps xunit.runner.visualstudio to 4.0.1.
  • Replaces the obsolete CollectionBehavior(DisableTestParallelization = true) with Parallelization(Mode = ParallelMode.None).
  • Converts ExternalTableTests to async with TestContext.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-changes is clean, and the live ExternalTableTests class passes (8/8).

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.
@KrzysztofDusko
KrzysztofDusko merged commit cd48f9c into master Nov 23, 2026
5 checks passed
@KrzysztofDusko
KrzysztofDusko deleted the chore/xunit-v3-4 branch November 23, 2026 18:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants