chore(deps): update dependency nunit.analyzers to 4.14.0#2729
Conversation
There was a problem hiding this comment.
Code Review: chore(deps): update dependency nunit.analyzers to 4.14.0
This is a straightforward Renovate-bot dependency bump of NUnit.Analyzers from 4.13.0 → 4.14.0 in Directory.Packages.props.
Change Summary
Single line change in the centralized package version management file — exactly the right place for this update given the repo uses Central Package Management.
Notable in 4.14.0
The new release adds analyzer NUnit2059, which flags un-awaited results from Assert.ThrowsAsync, Assert.CatchAsync, and Assert.DoesNotThrowAsync. In NUnit 5+, these methods return awaitable Tasks, so forgetting to await them silently passes tests that should fail. This is a meaningful improvement for test correctness, not just a version bump.
Worth noting: since your project is currently on NUnit 4.x (NUnit is pinned to 4.6.1), the new NUnit2059 rule targets NUnit 5+ behavior. It won't fire yet, but having the analyzer in place now means you'll get immediate feedback if/when NUnit is upgraded to v5.
Assessment
No issues found. The change is minimal, low-risk, and brings a net benefit. The use of Central Package Management means this one-line update correctly propagates to all projects in the solution.
✅ Looks good to merge.
Up to standards ✅🟢 Issues
|
| Metric | Results |
|---|---|
| Complexity | ✅ 0 (≤ 20 complexity) |
NEW Get contextual insights on your PRs based on Codacy's metrics, along with PR and Jira context, without leaving GitHub. Enable AI reviewer
TIP This summary will be updated as you push new changes.
This PR contains the following updates:
4.13.0→4.14.0Release Notes
nunit/nunit.analyzers (NUnit.Analyzers)
v4.14.0: NUnit Analyzers 4.14 - June 1, 2026Compare Source
NUnit Analyzers 4.14 - June 1, 2026
This release of the NUnit Analyzers adds a new analyzer and associated codefix -
NUnit2059- that helps ensure thatasync assertion methods in NUnit version 5 and higher - i.e.
Assert.ThrowsAsync,Assert.CatchAsync, andAssert.DoesNotThrowAsync- have their results observed, as these methods are awaitable from NUnit version 5.The release contains contributions from the following users (in alphabetical order):
Issues Resolved
Features and Enhancements
Tooling, Process, and Documentation
Configuration
📅 Schedule: (UTC)
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Mend Renovate.