chore: Bump xunit.v3 from 3.2.2 to 4.0.0 - #250
Conversation
4655fcf to
a20dbbe
Compare
|
@dependabot recreate |
--- updated-dependencies: - dependency-name: xunit.v3 dependency-version: 4.0.0 dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com>
a20dbbe to
060a8c5
Compare
|
Leaving this open: the bump itself resolves, but the test run no longer starts. Moving xunit.v3 to 4.0.0 pulls in a Microsoft.Testing.Platform that drops the VSTest |
|
Not merging this yet: the QA job fails before it gets to this change. The .NET 10 SDK no longer runs tests through the VSTest target: This is not caused by the packages in this pull request — every run in this Leaving this open until that lands. |
…-dotnet into dependabot/nuget/src/EventSourcingDb.Tests/xunit.v3-4.0.0
The .NET 10 SDK refuses to run tests through the VSTest target, so every job in
this repository failed before it reached the xunit.v3 bump:
Testing with VSTest target is no longer supported by Microsoft.Testing.
Platform on .NET 10 SDK and later.
Four changes, each one needed:
- `global.json` selects the runner. The property name in the failing target,
`_SupportsGlobalJsonTestRunner`, is what points at global.json rather than
dotnet.config; neither a csproj property nor dotnet.config has any effect.
- `<OutputType>Exe</OutputType>`, because xunit.v3 4.0 requires test projects to
be executable — under Microsoft.Testing.Platform a test project is a program,
not a library a host loads.
- Microsoft.NET.Test.Sdk, xunit.runner.visualstudio and coverlet.collector are
removed. All three exist to serve VSTest; xunit.v3 carries its own platform
integration. Nothing asked coverlet for coverage — `make test` never passed a
collector.
- `dotnet test` takes `--project` now; the positional form is rejected.
Verified locally with `make qa` on .NET 9 and .NET 10: 126 tests, none failing.
net8.0 could not be run here because that runtime is not installed on this
machine; CI installs 8.0.x explicitly.
Worth a look separately: the QA matrix lists three SDK versions but every job
installs all three and runs the same `make qa`, so the three runs are identical.
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01X8dhqV77bgg5oT5pVQdi5y
goloroden
left a comment
There was a problem hiding this comment.
Moves the tests onto Microsoft.Testing.Platform, which the .NET 10 SDK requires. All three QA jobs pass, including net8.0.
Updated xunit.v3 from 3.2.2 to 4.0.0.
Release notes
Sourced from xunit.v3's releases.
No release notes found for this version range.
Commits viewable in compare view.