Bump xunit.v3 from 3.2.2 to 4.0.1 - #564
dependabot[bot] wants to merge 1 commit into
Conversation
--- updated-dependencies: - dependency-name: xunit.v3 dependency-version: 4.0.1 dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com>
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 3b782c7b6d
ℹ️ About Codex in GitHub
Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".
| <PackageVersion Include="Microsoft.NET.Test.Sdk" Version="18.10.0" /> | ||
| <PackageVersion Include="Validation" Version="2.6.68" /> | ||
| <PackageVersion Include="xunit.v3" Version="3.2.2" /> | ||
| <PackageVersion Include="xunit.v3" Version="4.0.1" /> |
There was a problem hiding this comment.
Upgrade the test logger with xUnit
This moves the test host to Microsoft.Testing.Platform v2 while both test projects still reference GitHubActionsTestLogger 2.4.1, which belongs to the MTP-v1 stack. The repository explicitly documents in .github/dependabot.yml that logger 3.x is the MTP-v2-compatible generation and should be revisited when upgrading to xunit.v3 4.x; leaving the logger pinned and ignored can prevent it from loading when the integration workflows run dotnet test ... --logger GitHubActions. Update the logger to its compatible 3.x version and remove the stale Dependabot exclusion as part of this migration.
Useful? React with 👍 / 👎.
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes using high effort and found 1 potential issue.
❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, have a team admin enable autofix in the Cursor dashboard.
Reviewed by Cursor Bugbot for commit 3b782c7. Configure here.
| <PackageVersion Include="Microsoft.NET.Test.Sdk" Version="18.10.0" /> | ||
| <PackageVersion Include="Validation" Version="2.6.68" /> | ||
| <PackageVersion Include="xunit.v3" Version="3.2.2" /> | ||
| <PackageVersion Include="xunit.v3" Version="4.0.1" /> |
There was a problem hiding this comment.
MTP v2 breaks VSTest CI runs
High Severity
xunit.v3 4.0.1 defaults to Microsoft Testing Platform v2 and drops the VSTest bridge on .NET 10. CI still uses VSTest-style dotnet test --logger GitHubActions with GitHubActionsTestLogger 2.4.1, and does not switch to xunit.v3.mtp-off or an MTP runner opt-in, so net10.0 test jobs can fail to run.
Additional Locations (1)
Reviewed by Cursor Bugbot for commit 3b782c7. Configure here.
|
@dependabot ignore this minor version |
|
OK, I won't notify you about version 4.0.x again, unless you re-open this PR. |


Updated xunit.v3 from 3.2.2 to 4.0.1.
Release notes
Sourced from xunit.v3's releases.
No release notes found for this version range.
Commits viewable in compare view.
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)Note
Medium Risk
Major test-framework upgrade affects all xUnit v3 tests; failures may only show up at build or test time, and runner/SDK alignment was not updated in the same PR.
Overview
Bumps the central
xunit.v3package from 3.2.2 to 4.0.1 inDirectory.Packages.props, so test projects that referencexunit.v3without a pinned version will resolve the new major release.This is a major xUnit v3 upgrade only; related packages (
xunit.v3.runner.console,xunit.runner.visualstudio) are unchanged in this diff. After merge, confirm CI and local test runs still pass, since v4 typically tracks Microsoft Testing Platform v2 (repo comments previously tied staying on 3.x to MTP v1 constraints).Reviewed by Cursor Bugbot for commit 3b782c7. Bugbot is set up for automated code reviews on this repo. Configure here.