Skip to content

Bump NUnit.Analyzers from 4.11.2 to 4.12.0#212

Merged
jas88 merged 1 commit intomainfrom
dependabot/nuget/Test.LibArchive.Net/NUnit.Analyzers-4.12.0
Mar 9, 2026
Merged

Bump NUnit.Analyzers from 4.11.2 to 4.12.0#212
jas88 merged 1 commit intomainfrom
dependabot/nuget/Test.LibArchive.Net/NUnit.Analyzers-4.12.0

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

@dependabot dependabot bot commented on behalf of github Mar 9, 2026

⚠️ Dependabot is rebasing this PR ⚠️

Rebasing might not happen immediately, so don't worry if this takes some time.

Note: if you make any changes to this PR yourself, they will take precedence over the rebase.


Updated NUnit.Analyzers from 4.11.2 to 4.12.0.

Release notes

Sourced from NUnit.Analyzers's releases.

4.12.0

NUnit Analyzers 4.12 - March 3, 2026

This release of the NUnit Analyzers improves NUnit1029 to account for TestCaseSource
support for params and optional arguments. It also introduces a new analyzer for incorrect
usage of Is.Not.Null.Or.Empty, fixes regressions in NUnit2005 and NUnit2055, and updates
NUnit package dependencies.

The release contains contributions from the following users (in alphabetical order):

  • @​Dreamescaper
  • @​manfred-brands
  • @​mikkelbu
  • @​nowsprinting
  • @​philipp-naused
  • @​stevenaw

Issues Resolved

Features and Enhancements

  • #​957 Relax NUnit1029 for TestCaseSource where method accepts a single "params" array
  • #​189 Warning when Is.Not.Null.Or.Empty used

Bugs

  • #​953 Code fix for NUnit2055 can generate invalid code for classic asserts
  • #​952 Code fix for NUnit2005 tries to use Is.Empty constraint on incompatible types.

Tooling, Process, and Documentation

  • #​973 chore: Bump NUnit version
  • #​970 chore: Bump NUnit to version 4.5.0
  • #​967 Fix note about works with Unity Test Framework
  • #​937 chore: bump version

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)

High-level PR Summary

This PR updates the NUnit.Analyzers package dependency from version 4.11.2 to 4.12.0 in the test project. The new version includes improvements to analyzer NUnit1029 for TestCaseSource with params arguments, a new analyzer for incorrect usage of Is.Not.Null.Or.Empty, and bug fixes for code generation issues in analyzers NUnit2055 and NUnit2005.

⏱️ Estimated Review Time: 5-15 minutes

💡 Review Order Suggestion
Order File Path
1 Test.LibArchive.Net/Test.LibArchive.Net.csproj

Need help? Join our Discord


Summary by cubic

Upgrade NUnit.Analyzers from 4.11.2 to 4.12.0 to improve analyzer accuracy and fix issues.
Adds a warning for incorrect Is.Not.Null.Or.Empty usage, relaxes NUnit1029 for TestCaseSource with params/optional args, and fixes NUnit2005/NUnit2055 code fix bugs.

Written for commit 0f5b277. Summary will update on new commits.

---
updated-dependencies:
- dependency-name: NUnit.Analyzers
  dependency-version: 4.12.0
  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 Mar 9, 2026
Copy link
Copy Markdown

@recurseml recurseml bot left a comment

Choose a reason for hiding this comment

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

Review by RecurseML

🔍 Review performed on 834228a..0f5b277

✨ No bugs found, your code is sparkling clean

✅ Files analyzed, no issues (1)

Test.LibArchive.Net/Test.LibArchive.Net.csproj

Copy link
Copy Markdown

@cubic-dev-ai cubic-dev-ai bot left a comment

Choose a reason for hiding this comment

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

No issues found across 1 file

@jas88 jas88 merged commit 462ce05 into main Mar 9, 2026
6 checks passed
@jas88 jas88 deleted the dependabot/nuget/Test.LibArchive.Net/NUnit.Analyzers-4.12.0 branch March 9, 2026 19:48
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