Skip to content

chore(deps): xunit.v3 4.0.0 and the Microsoft.Testing.Platform runner - #42

Merged
poxet merged 1 commit into
masterfrom
chore/xunit-v4
Aug 24, 2026
Merged

poxet merged 1 commit into
masterfrom
chore/xunit-v4

Conversation

@poxet

@poxet poxet commented Aug 24, 2026

Copy link
Copy Markdown
Collaborator

xunit.v3 4.0.0 drops the VSTest bridge, so a version-only bump leaves the project unable to run tests at all:

error : Testing with VSTest target is no longer supported by Microsoft.Testing.Platform on .NET 10 SDK and later.

Completes the migration the same way it was already done in Cache, Fortnox, Mcp, Runtime and Wpf:

  • xunit.v3 and xunit.runner.visualstudio to 4.0.0
  • coverlet.collector / coverlet.msbuild replaced by Microsoft.Testing.Extensions.CodeCoverage 18.10.0
  • global.json selecting the Microsoft.Testing.Platform runner
  • the CI test command translated to Microsoft.Testing.Platform options, since the VSTest --filter expression, --verbosity and --collect:"XPlat Code Coverage" no longer apply
  • coverage/ added to .gitignore

Verified locally: the solution builds clean and the full suite passes through the xunit.v3 in-process runner.

@poxet
poxet merged commit 56cc181 into master Aug 24, 2026
6 of 7 checks passed

This branch had an error being deployed

1 failed deployment
prerelease — b8cc8b07 Deployed Aug 24, 2026 by poxet via prerelease #42
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.

1 participant