Skip to content

Bump xunit.v3 from 3.2.2 to 4.0.1 - #564

Closed
dependabot[bot] wants to merge 1 commit into
masterfrom
dependabot/nuget/xunit.v3-4.0.1
Closed

dependabot[bot] wants to merge 1 commit into
masterfrom
dependabot/nuget/xunit.v3-4.0.1

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Sep 14, 2026

Copy link
Copy Markdown
Contributor

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 compatibility score

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 rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will 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 version will 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 dependency will 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.v3 package from 3.2.2 to 4.0.1 in Directory.Packages.props, so test projects that reference xunit.v3 without 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.

---
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>
@dependabot dependabot Bot added .NET Pull requests that update .NET code dependencies Pull requests that update a dependency file labels Sep 14, 2026

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 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".

Comment thread Directory.Packages.props
<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" />

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Badge 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 👍 / 👎.

@cursor cursor Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cursor Bugbot has reviewed your changes using high effort and found 1 potential issue.

Fix All in Cursor

❌ 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.

Comment thread Directory.Packages.props
<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" />

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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)
Fix in Cursor Fix in Web

Reviewed by Cursor Bugbot for commit 3b782c7. Configure here.

@mgravell

Copy link
Copy Markdown
Collaborator

@dependabot ignore this minor version

@dependabot dependabot Bot closed this Sep 15, 2026
@dependabot @github

dependabot Bot commented on behalf of github Sep 15, 2026

Copy link
Copy Markdown
Contributor Author

OK, I won't notify you about version 4.0.x again, unless you re-open this PR.

@dependabot
dependabot Bot deleted the dependabot/nuget/xunit.v3-4.0.1 branch September 15, 2026 14:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file .NET Pull requests that update .NET code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant