Skip to content

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Aug 12, 2025

Updated NUnit.Analyzers from 4.7.0 to 4.10.0.

Release notes

Sourced from NUnit.Analyzers's releases.

4.10.0

NUnit Analyzers 4.10 - August 9, 2025

This release of the NUnit Analyzers contains some minor improvements to NUnit2050, NUnit2056, and NUnit2007 as well
as some improvements to existing tests. Once again, @​manfred-brands was responsible for the majority of the work.

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

  • @​dfev77
  • @​manfred-brands
  • @​mikebro
  • @​mikkelbu

Issues Resolved

Bugs

  • #​901 False positive on NUnit2050
  • #​899 NUnit2056 analyzer's code fix removes comments and empty lines above it.
  • #​896 NUnit2007 shouldn't trigger for generic types e.g. typeof(T)

Tooling, Process, and Documentation

  • #​905 NUnit4.4 alpha -> beta changes
  • #​897 chore: Correct typo in NUnit2045.md
  • #​894 Improve tests by adding ↓ to tests were it is missing in the source
  • #​887 chore: bump version

4.9.2

NUnit Analyzers 4.9.2 - June 17, 2025

This release of the NUnit Analyzers extends the NUnit3001 nullability suppressor
to also work in the context of Assert.EnterMultipleScope and other using statements.

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

  • @​artificialWave
  • @​manfred-brands
  • @​mikkelbu

Issues Resolved

Features and Enhancements

  • #​892 Assert.EnterMultipleScope not detecting nullability properly

4.9.1

NUnit Analyzers 4.9.1 - June 12, 2025

This release of the NUnit Analyzers fixes a problem with the code-fix for translating
Assert.Multiple/Assert.MultipleAsync into the new Assert.EnterMultipleScope format
when the test method already is asynchronous and have a return type different from Task.

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

  • @​MaceWindu
  • @​manfred-brands
  • @​mikkelbu

Issues Resolved

Bugs

  • #​888 Assert.MultipleAsync -> EnterMultipleScope autofix produce invalid code

4.9.0

NUnit Analyzers 4.9 - June 11, 2025

This release of the NUnit Analyzers adds several new analyzers. For the RangeAttribute,
the analyzers now warn about potential issues at runtime.

It also introduces an analyzer and code fix for translating
Assert.Multiple/Assert.MultipleAsync into the new Assert.EnterMultipleScope format, as well
as for converting is T checks into Is.InstanceOf<T>() constraints.

For NUnit2021, the analyzer now respects UsingPropertiesComparer, including enhancements
that will be available in NUnit 4.4.

Finally, this release includes improvements to NUnit2007, NUnit2045, and NUnit4002.
See the list of resolved issues below for more details.

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

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

Issues Resolved

Features and Enhancements

  • #​880 NUnit2007 could flag typeof() as a constant first parameter
  • #​866 When Assert.Multiple is found, should suggest to convert to Assert.EnterMultipleScope
  • #​865 NUnit 2045 suggest Assert.Multiple, but should suggest Assert.EnterMultipleScope
  • #​857 NUnit2021 Should not raise for UsingPropertiesComparer
  • #​765 Add Rule for converting is T into Is.InstanceOf()
  • #​89 Test the correct usage of the Range attribute

Bugs

  • #​879 NUnit4002 shouldn't trigger for T vs nullable<T> struct types

Tooling, Process, and Documentation

  • #​868 chore: bump version

4.8.1

NUnit Analyzers 4.8.1 - May 29, 2025

This release of the NUnit Analyzers fixes a problem with NUnit4002 when applied to comparisons between non-number
types - e.g. strings.

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

  • @​adrianbanks
  • @​manfred-brands
  • @​mikkelbu

Issues Resolved

Bugs

  • #​870 Compilation error caused by exception in an analyzer after updating to v4.8.0

4.8.0

NUnit Analyzers 4.8 - May 22, 2025

This release of the NUnit Analyzers adds a new diagnostic NUnit1034 that checks
whether base TestFixtures are declared as abstract. When a base class is not abstract
it will also be run as a standalone test which is most times not the intention.

The release also contains some fixes to NUnit4002 and Nunit2045.

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

  • @​Bartleby2718
  • @​CharliePoole
  • @​MaceWindu
  • @​manfred-brands
  • @​mikkelbu
  • @​Rabadash8820

Issues Resolved

Features and Enhancements

  • #​840 Detect incorrect or questionable use of TestFixture inheritance.

Bugs

  • #​862 NUnit.Analyzers doesn't recognize the version of NUnit in use
  • #​856 NUnit4002 shouldn't trigger for unknown types

Tooling, Process, and Documentation

  • #​861 Add missing backticks in NUnit4002.md
  • #​855 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 merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @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)

@dependabot dependabot bot added dependencies Pull requests that update a dependency file. task labels Aug 12, 2025
---
updated-dependencies:
- dependency-name: NUnit.Analyzers
  dependency-version: 4.10.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot force-pushed the dependabot/nuget/src/dnsimple-test/NUnit.Analyzers-4.10.0 branch from 564e9cd to 93ef539 Compare August 20, 2025 01:50
@kntsoriano kntsoriano merged commit 356c4ba into main Aug 20, 2025
2 checks passed
@kntsoriano kntsoriano deleted the dependabot/nuget/src/dnsimple-test/NUnit.Analyzers-4.10.0 branch August 20, 2025 03:03
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. task
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant