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):
#607 NUnit1032 false positive when test class is static
#602 Bug: StackOverflowException when test calls recursive method in 3.7.
NUnit Analyzers 3.8 (and 2.8)
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):
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
#633 chore(deps): Bump Microsoft.NET.Test.Sdk from 17.7.2 to 17.8.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
... (truncated)
Commits
fbec809 Merge pull request #622 from nunit/release3.9
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 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)
Bumps NUnit.Analyzers from 3.3.0 to 3.9.0.
Release notes
Sourced from NUnit.Analyzers's releases.
... (truncated)
Changelog
Sourced from NUnit.Analyzers's changelog.
... (truncated)
Commits
fbec809
Merge pull request #622 from nunit/release3.9c50c1be
chore: Correct formattingeea676e
chore: Update release notesaa3e649
Merge pull request #616 from manfred-brands/Issue614_LambdaCapture5a4fb6f
Do not consider Assert.That with TestDelegate to be a candidate for Assert.Mu...42f733f
Merge pull request #613 from manfred-brands/Issue607_StaticClasses570d596
Also look at static methods for NUnit10321d21b00
Merge pull request #604 from manfred-brands/issue602_StackOverflowab8167d
Code review simplification.3fc4980
NonNullabkeFieldsSuppressor: Recognize (indirect) recursive methods.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