Skip to content

Conversation

@dependencyupdates
Copy link
Contributor

@dependencyupdates dependencyupdates bot commented Oct 29, 2025

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
NUnit.Analyzers 4.10.0 -> 4.11.1 age adoption passing confidence

Release Notes

nunit/nunit.analyzers (NUnit.Analyzers)

v4.11.1: NUnit Analyzers 4.11.1 - October 30, 2025

Compare Source

NUnit Analyzers 4.11.1 - October 30, 2025

This release of the NUnit Analyzers fixes a regression related to the analysis of nullable enum parameters in
NUnit1001 and NUnit1031. The release also contains a new analyzer and codefix for unnecessary usage of lambda
expressions in asserts.

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

Issues Resolved

Features and Enhancements

  • #​927 Add new rule for unnecessary use of lambda expressions

Bugs

  • #​939 NUnit1001 - false positive for arguments with nullable enum parameters
  • #​938 [NUnit1031] False positive for nullable structs

v4.11.0: NUnit Analyzers 4.11 - October 28, 2025

Compare Source

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_methods
  • dotnet_diagnostic.NUnit.additional_teardown_methods
  • dotnet_diagnostic.NUnit.additional_one_time_setup_methods
  • dotnet_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):

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

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot.

Commands to ignore dependencies

You can trigger dependency actions by commenting on this PR:

  • @particularbot ignore this major version
  • @particularbot ignore this minor version
  • @particularbot ignore this dependency

@dependencyupdates dependencyupdates bot added Build Dependency dependencies Pull requests that update a dependency file NuGet labels Oct 29, 2025
@dependencyupdates dependencyupdates bot enabled auto-merge (squash) October 29, 2025 03:38
@dependencyupdates dependencyupdates bot force-pushed the renovate/nunit.analyzers-4.x branch from 5bee1f6 to dd45acc Compare October 31, 2025 03:36
@dependencyupdates dependencyupdates bot changed the title Update dependency NUnit.Analyzers to 4.11.0 Update dependency NUnit.Analyzers to 4.11.1 Oct 31, 2025
@dependencyupdates dependencyupdates bot merged commit d794df8 into master Oct 31, 2025
32 checks passed
@dependencyupdates dependencyupdates bot deleted the renovate/nunit.analyzers-4.x branch October 31, 2025 04:02
bartekwasielak pushed a commit that referenced this pull request Nov 27, 2025
Co-authored-by: dependencyupdates[bot] <218638057+dependencyupdates[bot]@users.noreply.github.com>

Update dependency NUnit.Analyzers to 4.10.0 (#5053)

* Update dependency NUnit.Analyzers to 4.10.0

* Swap the assert

* Make the class abstract

---------

Co-authored-by: dependencyupdates[bot] <218638057+dependencyupdates[bot]@users.noreply.github.com>
Co-authored-by: Tamara Rivera <tamita.rivera@gmail.com>

Update dependency NUnit.Analyzers to 4.11.1 (#5152)

Co-authored-by: dependencyupdates[bot] <218638057+dependencyupdates[bot]@users.noreply.github.com>

Log email notification subject and body for all SendEmailNotificationHandler executions (#5139)

* remove duplicate custom check - Audit Message Ingestion

* add email notification subject and body to log

* apply code review suggestions

Ensure RetryAcknowledgementBehavior gets triggered

WIP

WIP2

Add MessageEditedAndRetried event

Reedit WIP

Using MessageFailed instead of MessageResolved - test

Restoring original Handler

Test editions

format fix

Added concurrency support

formatting fixes

Test modification

Change contract types

Adding more conditions to the test
bartekwasielak pushed a commit that referenced this pull request Nov 27, 2025
Co-authored-by: dependencyupdates[bot] <218638057+dependencyupdates[bot]@users.noreply.github.com>

Update dependency NUnit.Analyzers to 4.10.0 (#5053)

* Update dependency NUnit.Analyzers to 4.10.0

* Swap the assert

* Make the class abstract

---------

Co-authored-by: dependencyupdates[bot] <218638057+dependencyupdates[bot]@users.noreply.github.com>
Co-authored-by: Tamara Rivera <tamita.rivera@gmail.com>

Update dependency NUnit.Analyzers to 4.11.1 (#5152)

Co-authored-by: dependencyupdates[bot] <218638057+dependencyupdates[bot]@users.noreply.github.com>

Log email notification subject and body for all SendEmailNotificationHandler executions (#5139)

* remove duplicate custom check - Audit Message Ingestion

* add email notification subject and body to log

* apply code review suggestions

Ensure RetryAcknowledgementBehavior gets triggered

WIP

WIP2

Add MessageEditedAndRetried event

Reedit WIP

Using MessageFailed instead of MessageResolved - test

Restoring original Handler

Test editions

format fix

Added concurrency support

formatting fixes

Test modification

Change contract types

Adding more conditions to the test
bartekwasielak pushed a commit that referenced this pull request Nov 27, 2025
Co-authored-by: dependencyupdates[bot] <218638057+dependencyupdates[bot]@users.noreply.github.com>

Update actions/upload-artifact action to v5 (#5150)

Co-authored-by: dependencyupdates[bot] <218638057+dependencyupdates[bot]@users.noreply.github.com>

Update dependency NUnit.Analyzers to 4.10.0 (#5053)

* Update dependency NUnit.Analyzers to 4.10.0

* Swap the assert

* Make the class abstract

---------

Co-authored-by: dependencyupdates[bot] <218638057+dependencyupdates[bot]@users.noreply.github.com>
Co-authored-by: Tamara Rivera <tamita.rivera@gmail.com>

Update dependency NUnit.Analyzers to 4.11.1 (#5152)

Co-authored-by: dependencyupdates[bot] <218638057+dependencyupdates[bot]@users.noreply.github.com>

Log email notification subject and body for all SendEmailNotificationHandler executions (#5139)

* remove duplicate custom check - Audit Message Ingestion

* add email notification subject and body to log

* apply code review suggestions

Ensure RetryAcknowledgementBehavior gets triggered

WIP

WIP2

Add MessageEditedAndRetried event

Reedit WIP

Using MessageFailed instead of MessageResolved - test

Restoring original Handler

Test editions

format fix

Added concurrency support

formatting fixes

Test modification

Change contract types

Adding more conditions to the test
bartekwasielak pushed a commit that referenced this pull request Nov 27, 2025
Co-authored-by: dependencyupdates[bot] <218638057+dependencyupdates[bot]@users.noreply.github.com>

Update dependency PublicApiGenerator to 11.5.3 (#5202)

Co-authored-by: dependencyupdates[bot] <218638057+dependencyupdates[bot]@users.noreply.github.com>

Update actions/upload-artifact action to v5 (#5150)

Co-authored-by: dependencyupdates[bot] <218638057+dependencyupdates[bot]@users.noreply.github.com>

Update dependency NUnit.Analyzers to 4.10.0 (#5053)

* Update dependency NUnit.Analyzers to 4.10.0

* Swap the assert

* Make the class abstract

---------

Co-authored-by: dependencyupdates[bot] <218638057+dependencyupdates[bot]@users.noreply.github.com>
Co-authored-by: Tamara Rivera <tamita.rivera@gmail.com>

Update dependency NUnit.Analyzers to 4.11.1 (#5152)

Co-authored-by: dependencyupdates[bot] <218638057+dependencyupdates[bot]@users.noreply.github.com>

Log email notification subject and body for all SendEmailNotificationHandler executions (#5139)

* remove duplicate custom check - Audit Message Ingestion

* add email notification subject and body to log

* apply code review suggestions

Ensure RetryAcknowledgementBehavior gets triggered

WIP

WIP2

Add MessageEditedAndRetried event

Reedit WIP

Using MessageFailed instead of MessageResolved - test

Restoring original Handler

Test editions

format fix

Added concurrency support

formatting fixes

Test modification

Change contract types

Adding more conditions to the test

Reverting changes
bartekwasielak pushed a commit that referenced this pull request Nov 27, 2025
Co-authored-by: dependencyupdates[bot] <218638057+dependencyupdates[bot]@users.noreply.github.com>

Update dependency PublicApiGenerator to 11.5.3 (#5202)

Co-authored-by: dependencyupdates[bot] <218638057+dependencyupdates[bot]@users.noreply.github.com>

Update actions/upload-artifact action to v5 (#5150)

Co-authored-by: dependencyupdates[bot] <218638057+dependencyupdates[bot]@users.noreply.github.com>

Update dependency NUnit.Analyzers to 4.10.0 (#5053)

* Update dependency NUnit.Analyzers to 4.10.0

* Swap the assert

* Make the class abstract

---------

Co-authored-by: dependencyupdates[bot] <218638057+dependencyupdates[bot]@users.noreply.github.com>
Co-authored-by: Tamara Rivera <tamita.rivera@gmail.com>

Update dependency NUnit.Analyzers to 4.11.1 (#5152)

Co-authored-by: dependencyupdates[bot] <218638057+dependencyupdates[bot]@users.noreply.github.com>

Log email notification subject and body for all SendEmailNotificationHandler executions (#5139)

* remove duplicate custom check - Audit Message Ingestion

* add email notification subject and body to log

* apply code review suggestions

Ensure RetryAcknowledgementBehavior gets triggered

WIP

WIP2

Add MessageEditedAndRetried event

Reedit WIP

Using MessageFailed instead of MessageResolved - test

Restoring original Handler

Test editions

format fix

Added concurrency support

formatting fixes

Test modification

Change contract types

Adding more conditions to the test

Reverting changes

formatting fix
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Build Dependency dependencies Pull requests that update a dependency file NuGet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants