Skip to content

Bump NUnit.Analyzers from 3.6.1 to 3.10.0#7982

Closed
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/nuget/modules/platforms/dotnet/Apache.Extensions.Caching.Ignite.Tests/NUnit.Analyzers-3.10.0
Closed

Bump NUnit.Analyzers from 3.6.1 to 3.10.0#7982
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/nuget/modules/platforms/dotnet/Apache.Extensions.Caching.Ignite.Tests/NUnit.Analyzers-3.10.0

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

@dependabot dependabot Bot commented on behalf of github Apr 13, 2026

Updated NUnit.Analyzers from 3.6.1 to 3.10.0.

Release notes

Sourced from NUnit.Analyzers's releases.

3.10.0

NUnit Analyzers 3.10 (and 2.10) - November 27, 2023

This release adds a couple of improvements to the analyzers:

  • Check that users don't accidentally specify CallerArgumentExpression parameters
  • Relax analyzers for added support for IAsyncEnumerable on *Source attributes

These improvements extend the functionality in the beta that added support for NUnit 4 and
for migrating to NUnit 4. Especially, the handling of the movement of classic asserts into a new namespace
NUnit.Framework.Legacy and of the improved assert result messages - for more information see
https://docs.nunit.org/articles/nunit/Towards-NUnit4.html. The analyzers can help updating the
classic assert and fix the assert messages.

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

  • @​manfred-brands
  • @​mikkelbu
  • @​stevenaw

Issues Resolved

Features and Enhancements

  • #​639 Rule to check users don't accidentally specify CallerArgumentExpression parameters
  • #​634 Relax analyzers for added support for IAsyncEnumerable on *Source attributes

Tooling, Process, and Documentation

  • #​648 chore: Skip branch builds on PRs
  • #​644 chore: Update release notes for 3.10 beta
  • #​429 Drop the VSIX project

3.10.0-beta1

NUnit Analyzers 3.10-beta1 (and 2.9-beta1) - November 17, 2023

This beta adds support for the upcoming NUnit 4 - see pull request #​612 - which solves the following issues

  • #​620 Make Classic Conversion rule for CollectionAssert improvement
  • #​618 Make Classic Conversion rule for StringAssert
  • #​617 Update .Within makes no sense rule
  • #​610 Ensure Test Code works with NUnit4
  • #​606 Support for NUnit 4 legacy asserts
  • #​562 Warn use of params for assertion messages

The primary change is the handling of the movement of classic asserts into a new namespace
NUnit.Framework.Legacy and of the improved assert result messages - for more information see
https://docs.nunit.org/articles/nunit/Towards-NUnit4.html. The analyzers can help updating the
classic assert and fix the assert messages.

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

  • @​CollinAlpert
  • @​manfred-brands
  • @​mikkelbu
  • @​OsirisTerje

Issues Resolved

Features and Enhancements

  • #​620 Make Classic Conversion rule for CollectionAssert improvement
  • #​618 Make Classic Conversion rule for StringAssert
  • #​617 Update .Within makes no sense rule
  • #​615 Add support for Assert.MultipleAsync
  • #​610 Ensure Test Code works with NUnit4
  • #​606 Support for NUnit 4 legacy asserts
  • #​562 Warn use of params for assertion messages

Bugs

  • #​632 NUnit1031 doesn't seem to work with Generic parameters
  • #​631 NUnit1001/NUnit1031 don't observe null forgiveness operator
  • #​621 NUnit2025 fires unnecessarily

Tooling, Process, and Documentation

  • #​633 chore(deps): Bump Microsoft.NET.Test.Sdk from 17.7.2 to 17.8.0

3.9.0

NUnit Analyzers 3.9 (and 2.9) - October 27, 2023

This release contains bugfixes to NUnit2045 - Use Assert.Multiple - and NUnit1032 -
An IDisposable field/property should be Disposed in a TearDown method - and corrects
a StackOverflowException when tests calls methods recursively.

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

  • @​andrewimcclement
  • @​manfred-brands
  • @​mikkelbu
  • @​NottsColin
  • @​RenderMichael

Issues Resolved

Bugs

  • #​614 NUnit2045 does not respect lambda captures
  • #​607 NUnit1032 false positive when test class is static
  • #​602 Bug: StackOverflowException when test calls recursive method in 3.7.

3.8.0

NUnit Analyzers 3.8 (and 2.8) - September 25, 2023

This release contains a fix to the WithinUsageAnalyzer and handling of false duplicates when
combining NUnit1032 - An IDisposable field/property should be Disposed in a TearDown method -
with LifeCycle.InstancePerTestCase.

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

  • @​andrewimcclement
  • @​fredjeronimo
  • @​HenryZhang-ZHY
  • @​manfred-brands
  • @​mikkelbu

Issues Resolved

Features and Enhancements

  • #​595 NUnit1032 false positive in LifeCycle.InstancePerTestCase test fixture using constructor

Bugs

  • #​596 WithinUsageAnalyzer threw an exception of type 'System.IndexOutOfRangeException'

Tooling, Process, and Documentation

  • #​598 Update NUnit1032.md to fix typo Dipose -> Dispose.

3.7.0

NUnit Analyzers 3.7 (and 2.7) - September 16, 2023

This release contains a lot of improvements and corrections to the supression of non-nullable fields and properties
that are assigned in setup methods (and not in constructors). We have also added suppression of:

  • CA1812 - Avoid uninstantiated internal classes - on test classes
  • CA1001 - Types that own disposable fields should be disposable - when disposed is called in TearDown methods

The release also contain some improvements to the performance of the analyzers by avoid repeated calls to
GetTypeByMetadataName. Also ValuesAttribute is now also handled by the analyzer in a similar manner as TestCaseAttribute.
Most of the work done in this release have either been driven by or made by @​manfred-brands.

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

  • @​333fred
  • @​Corniel
  • @​andrewimcclement
  • @​IlIlIllIllI
  • @​jhinder
  • @​MaceWindu
  • @​manfred-brands
  • @​mikkelbu
  • @​RenderMichael
  • @​SeanKilleen
  • @​stevenaw

Issues Resolved

Features and Enhancements

  • #​585 NonNullableFieldOrPropertyIsUninitializedSuppressor doesn't check async methods called from SetUp
  • #​582 NonNullableFieldOrPropertyIsUninitializedSuppressor does not detect assignments in try/finally blocks
  • #​569 Added a suppressor when CA1812 fires on NUnit Test classes.
  • #​568 Feature request: suppress CA1001 when Dispose is called in the TearDown method
  • #​561 NUnit2021 error shown when comparing Uri and string
  • #​548 Use RegisterCompilationStartAction to avoid repeated calls to GetTypeByMetadataName
  • #​542 Allow the *Source Analyzers to permit Task
  • #​462 DiagnosticsSuppress does not suppress CS8634
  • #​344 Add a rule informing that .Within is not valid for non-numeric types.
  • #​52 Reuse TestCaseAttribute logic for ValuesAttribute improvement

Bugs

  • #​587 Buggy interaction between the Assert.Multiple fixer and null reference suppression
  • #​580 False positive for WithinUsageAnalyzer
  • #​559 FP NUnit1001: CustomTypeConverters could convert from anything
  • #​549 Code Fix for NUnit2010 on Ref Structs Creates CS0306
  • #​541 [NUnit2045] Incorrect refactoring
  • #​535 DiagnosticSuppressor doesn't suppress values passed as arguments
  • #​534 QuickFix for Assert.Multiple looses white space before and comments after bug

Tooling, Process, and Documentation

  • #​579 chore: Bump Microsoft.NET.Test.Sdk
  • #​578 chore(deps): Bump Microsoft.CodeAnalysis.NetAnalyzers
    ... (truncated)

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: NUnit.Analyzers
  dependency-version: 3.10.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 Apr 13, 2026
@dependabot dependabot Bot requested a review from ptupitsyn as a code owner April 13, 2026 16:27
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file .NET Pull requests that update .net code labels Apr 13, 2026
@ptupitsyn ptupitsyn closed this Apr 14, 2026
@dependabot @github
Copy link
Copy Markdown
Contributor Author

dependabot Bot commented on behalf of github Apr 14, 2026

OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let me know by commenting @dependabot ignore this major version or @dependabot ignore this minor version. You can also ignore all major, minor, or patch releases for a dependency by adding an ignore condition with the desired update_types to your config file.

If you change your mind, just re-open this PR and I'll resolve any conflicts on it.

@dependabot dependabot Bot deleted the dependabot/nuget/modules/platforms/dotnet/Apache.Extensions.Caching.Ignite.Tests/NUnit.Analyzers-3.10.0 branch April 14, 2026 05:04
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