Skip to content

Bump xunit from 2.4.1 to 2.9.3#62

Open
dependabot[bot] wants to merge 1 commit intomasterfrom
dependabot/nuget/test/Codacy.Engine.Seed.Tests/xunit-2.9.3
Open

Bump xunit from 2.4.1 to 2.9.3#62
dependabot[bot] wants to merge 1 commit intomasterfrom
dependabot/nuget/test/Codacy.Engine.Seed.Tests/xunit-2.9.3

Conversation

@dependabot
Copy link
Copy Markdown

@dependabot dependabot Bot commented on behalf of github May 4, 2026

Updated xunit from 2.4.1 to 2.9.3.

Release notes

Sourced from xunit'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)

---
updated-dependencies:
- dependency-name: xunit
  dependency-version: 2.9.3
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

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 May 4, 2026
@codacy-production
Copy link
Copy Markdown

Up to standards ✅

🟢 Issues 0 issues

Results:
0 new issues

View in Codacy

🟢 Metrics 0 complexity · 0 duplication

Metric Results
Complexity 0
Duplication 0

View in Codacy

AI Reviewer: first review requested successfully. AI can make mistakes. Always validate suggestions.

Run reviewer

TIP This summary will be updated as you push new changes.

Copy link
Copy Markdown

@codacy-production codacy-production Bot left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

While the primary objective of this PR is to update xUnit to 2.9.3, the change to packages.lock.json includes major version jumps for Newtonsoft.Json (12 to 13) and System.Collections.Immutable (1 to 5) for the referenced project 'codacy.engine.seed'.

Since these libraries are now constrained to newer versions, there is a risk of breaking changes for downstream consumers of this repository. Additionally, the project targets .NET Core 2.2, which is end-of-life; verifying runtime compatibility for these modern library versions on an obsolete framework is critical before merging. Codacy reports that the changes are otherwise up to standards with no new quality issues.

About this PR

  • The PR title only mentions xunit, but the implementation updates production-level dependencies (Newtonsoft.Json, System.Collections.Immutable) for the referenced 'codacy.engine.seed' project within the lock file.

Test suggestions

  • Verify that the existing test suite executes successfully with the xunit 2.9.3 runner
  • Confirm that the upgrade of Newtonsoft.Json to 13.0.1 is compatible with the project's serialization logic
  • Ensure compatibility of the updated test infrastructure with the EOL .NET Core 2.2 target framework
Prompt proposal for missing tests
Consider implementing these tests if applicable:
1. Verify that the existing test suite executes successfully with the xunit 2.9.3 runner
2. Confirm that the upgrade of Newtonsoft.Json to 13.0.1 is compatible with the project's serialization logic
3. Ensure compatibility of the updated test infrastructure with the EOL .NET Core 2.2 target framework
Low confidence findings
  • The project targets .NET Core 2.2, which is end-of-life. Upgrading modern testing libraries and core dependencies like xunit 2.9.3 and Newtonsoft.Json 13 may lead to runtime or compatibility issues not detectable via static analysis of the lock file.

TIP Improve review quality by adding custom instructions
TIP How was this review? Give us feedback

Comment on lines +169 to +170
"Newtonsoft.Json": "[13.0.1, )",
"System.Collections.Immutable": "[5.0.0, )"
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

🟡 MEDIUM RISK

This PR updates dependencies for the main project 'codacy.engine.seed', not just the test suite. 'Newtonsoft.Json' is bumped to 13.0.1 and 'System.Collections.Immutable' to 5.0.0. If this repository is consumed as a library, these changes will affect the dependency graph of all downstream users. Confirm that these upgrades were intentional and not a side effect of the xUnit bump.

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.

0 participants