Releases: nunit/nunit.analyzers
Release list
NUnit Analyzers 4.15 - September 12, 2026
NUnit Analyzers 4.15 - September 12, 2026
This release of the NUnit Analyzers adds support for the new numeric types that will
be supported in NUnit 5. The release also improves NUnit1027 by inspecting base fixtures,
and NUnit1028 by supporting IAsyncDisposable.DisposeAsync in addition to the
existing IDisposable.Dispose. The release also includes bug fixes and dependency updates.
The release contains contributions from the following users (in alphabetical order):
- @jhavlicek-profinit
- @killergege
- @manfred-brands
- @mikkelbu
- @ngbrown
- @ramonsmits
- @stevenaw
- @uladz-zubrycki
Issues Resolved
Features and Enhancements
- #1019 NUnit1027 does not see
[CancelAfter]inherited from a base fixture - #1017 NU2047 reports failure for new numeric types
- #1001 NUnit1028: Allow DisposeAsync as an exception
- #999
[TestCaseSource]CA1812 suppression
Bugs
- #1013 Use of
recordscrash theNonNullableFieldOrPropertyIsUninitializedSuppressoranalyzer - #998 Assert.EnterMultipleScope clears nullability suppress info
Tooling, Process, and Documentation
NUnit Analyzers 4.14 - June 1, 2026
NUnit Analyzers 4.14 - June 1, 2026
This release of the NUnit Analyzers adds a new analyzer and associated codefix - NUnit2059 - that helps ensure that
async assertion methods in NUnit version 5 and higher - i.e. Assert.ThrowsAsync, Assert.CatchAsync, and
Assert.DoesNotThrowAsync - have their results observed, as these methods are awaitable from NUnit version 5.
The release contains contributions from the following users (in alphabetical order):
Issues Resolved
Features and Enhancements
- #988 Recognize that Assert.ThrowsAsync etc now return a Task that needs awaiting.
Tooling, Process, and Documentation
NUnit Analyzers 4.13 - May 2, 2026
NUnit Analyzers 4.13 - May 2, 2026
This release of the NUnit Analyzers updates analyzer handling for the NUnit 4.6 API change that replaces
ActualValueDelegate<> with Func<> - see nunit/nunit#4824 for more information.
Analyzers now also consider the return type of Func<> in assertions. The release also includes one bug fix and
some dependency updates.
The release contains contributions from the following users (in alphabetical order):
Issues Resolved
Features and Enhancements
- #982 Recognized
Func<T>return values
Bugs
- #968 Whitespace issue in Does.Contain fixer when assert spans multiple lines
Tooling, Process, and Documentation
NUnit Analyzers 4.12 - March 3, 2026
NUnit Analyzers 4.12 - March 3, 2026
This release of the NUnit Analyzers improves NUnit1029 to account for TestCaseSource
support for params and optional arguments. It also introduces a new analyzer for incorrect
usage of Is.Not.Null.Or.Empty, fixes regressions in NUnit2005 and NUnit2055, and updates
NUnit package dependencies.
The release contains contributions from the following users (in alphabetical order):
Issues Resolved
Features and Enhancements
- #957 Relax NUnit1029 for TestCaseSource where method accepts a single "params" array