Skip to content

Releases: nunit/nunit.analyzers

NUnit Analyzers 4.15 - September 12, 2026

Choose a tag to compare

@mikkelbu mikkelbu released this 12 Sep 08:40
58a76a4

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):

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 records crash the NonNullableFieldOrPropertyIsUninitializedSuppressor analyzer
  • #998 Assert.EnterMultipleScope clears nullability suppress info

Tooling, Process, and Documentation

  • #1005 Bump Microsoft.NET.Test.Sdk from 18.6.0 to 18.7.0
  • #996 Bump Microsoft.NET.Test.Sdk from 17.14.1 to 18.6.0
  • #993 chore: bump version

NUnit Analyzers 4.14 - June 1, 2026

Choose a tag to compare

@mikkelbu mikkelbu released this 01 Jun 19:11
d6a899e

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

  • #990 Bump cake.tool from 6.1.0 to 6.2.0
  • #987 chore: bump version and correct errors in CHANGES.md

NUnit Analyzers 4.13 - May 2, 2026

Choose a tag to compare

@mikkelbu mikkelbu released this 02 May 13:05
d54adca

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

  • #985 chore: Bump year to 2026 in copyrights
  • #978 Bump cake.tool from 6.0.0 to 6.1.0
  • #976 chore: Correct documentation
  • #975 chore: bump version
  • #956 Bump cake.tool from 4.0.0 to 6.0.0

NUnit Analyzers 4.12 - March 3, 2026

Choose a tag to compare

@mikkelbu mikkelbu released this 07 Mar 15:15
429d689

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