Skip to content

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

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

chore(deps): xunit.v3 4.0.0 and the Microsoft.Testing.Platform runner#16
poxet merged 1 commit into
masterfrom
chore/xunit-v4

Conversation

@poxet

@poxet poxet commented Aug 24, 2026

Copy link
Copy Markdown
Contributor

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 f2bba6a into master Aug 24, 2026
6 of 7 checks passed
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