Bump NUnit.Analyzers from 4.10.0 to 4.11.0
Type: Pull Request
State: Closed
Association: Unknown
Comments: 2
(8 months ago)
(8 months ago)
(8 months ago)
dependencies .NET
Updated NUnit.Analyzers from 4.10.0 to 4.11.0.
Release notes
Sourced from NUnit.Analyzers's releases.
4.11.0
NUnit Analyzers 4.11 - October 28, 2025
This release of the NUnit Analyzers includes improvements and fixes related to IDisposable handling and initialization
in SetUp and OneTimeSetUp methods. It also introduces the ability to configure additional methods that should be
treated as SetUp and TearDown methods by the analyzers. This can be done in the .editorconfig, and there are four
configurations for this:
dotnet_diagnostic.NUnit.additional_setup_methodsdotnet_diagnostic.NUnit.additional_teardown_methodsdotnet_diagnostic.NUnit.additional_one_time_setup_methodsdotnet_diagnostic.NUnit.additional_one_time_teardown_methods
Each configuration accepts a list of method names, separated by commas, semicolons, or spaces. For example:
dotnet_diagnostic.NUnit.additional_setup_methods = CustomSetup, MyInit
As in recent releases, a major part of this work was contributed by @manfred-brands.
The release contains contributions from the following users (in alphabetical order):
- @AlisonAMorrison
- @BodrickLight
- @cbersch
- @manfred-brands
- @mikkelbu
- @PiotrKlecha
- @sbe-schleupen
Issues Resolved
Features and Enhancements
- #921 NUnit1032 - disposals in overridden methods not detected
- #919 NUnit1032/NUnit3002 - local functions not analyzed
- #918 NUnit2045 - false positive for inline usings
- #911 NUnit3002 doesn't recognize the using statement.
- #910 using declarations not recognized by NUnit2045
Bugs
- #922 NUnit1001 - false positive for arguments with generic parameters
- #914 Wrong position of NUnit1001 diagnostic for TestCase with four parameters or more
Tooling, Process, and Documentation
- #926 chore: Bump NUnit3TestAdapter
- #908 chore: bump version
- #885 Bump to NUnit version 4.4 when this is released
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 mergewill merge this PR after your CI passes on it@dependabot squash and mergewill squash and merge this PR after your CI passes on it@dependabot cancel mergewill cancel a previously requested merge and block automerging@dependabot reopenwill reopen this PR if it is closed@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@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)
Package Dependencies
Technical Details
| ID: | 10666214 |
| UUID: | 3567884886 |
| Node ID: | PR_kwDOACv_9s6weN09 |
| Host: | GitHub |
| Repository: | npgsql/npgsql |