Skip to content

chore: Bump the nunit group with 1 update#831

Merged
vbreuss merged 1 commit intomainfrom
dependabot/nuget/nunit-b730443a2f
Nov 8, 2025
Merged

chore: Bump the nunit group with 1 update#831
vbreuss merged 1 commit intomainfrom
dependabot/nuget/nunit-b730443a2f

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

@dependabot dependabot Bot commented on behalf of github Nov 3, 2025

Updated NUnit.Analyzers from 4.10.0 to 4.11.2.

Release notes

Sourced from NUnit.Analyzers's releases.

4.11.2

NUnit Analyzers 4.11.2 - November 2, 2025

This release of the NUnit Analyzers fixes a problem in the NUnit2057 analyzer for unnecessary use of lambda
expressions. The release also extends NUnit2021 so that it can determining if Is.NaN or Is.Not.NaN constraints
are used on incompatible types.

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

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

Issues Resolved

Features and Enhancements

  • #​929 Alert when using Is.NaN or Is.Not.NaN on an incompatible type

Bugs

  • #​945 [NUnit2057] Reported for Throws assert

4.11.1

NUnit Analyzers 4.11.1 - October 30, 2025

This release of the NUnit Analyzers fixes a regression related to the analysis of nullable enum parameters in
NUnit1001 and NUnit1031. The release also contains a new analyzer and codefix for unnecessary usage of lambda
expressions in asserts.

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

  • @​MaceWindu
  • @​maksim-sovkov
  • @​manfred-brands

Issues Resolved

Features and Enhancements

  • #​927 Add new rule for unnecessary use of lambda expressions

Bugs

  • #​939 NUnit1001 - false positive for arguments with nullable enum parameters
  • #​938 [NUnit1031] False positive for nullable structs

4.11.0

NUnit Analyzers 4.11 - October 28, 2025

This release of the NUnit Analyzers includes improvements and fixes related to IDisposable handling and initialization
in SetUp and OneTimeSetUp methods. It also introduces the ability to configure additional methods that should be
treated as SetUp and TearDown methods by the analyzers. This can be done in the .editorconfig, and there are four
configurations for this:

  • dotnet_diagnostic.NUnit.additional_setup_methods
  • dotnet_diagnostic.NUnit.additional_teardown_methods
  • dotnet_diagnostic.NUnit.additional_one_time_setup_methods
  • dotnet_diagnostic.NUnit.additional_one_time_teardown_methods

Each configuration accepts a list of method names, separated by commas, semicolons, or spaces. For example:

dotnet_diagnostic.NUnit.additional_setup_methods = CustomSetup, MyInit

As in recent releases, a major part of this work was contributed by @​manfred-brands.

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

  • @​AlisonAMorrison
  • @​BodrickLight
  • @​cbersch
  • @​manfred-brands
  • @​mikkelbu
  • @​PiotrKlecha
  • @​sbe-schleupen

Issues Resolved

Features and Enhancements

  • #​921 NUnit1032 - disposals in overridden methods not detected
  • #​919 NUnit1032/NUnit3002 - local functions not analyzed
  • #​918 NUnit2045 - false positive for inline usings
  • #​911 NUnit3002 doesn't recognize the using statement.
  • #​910 using declarations not recognized by NUnit2045

Bugs

  • #​922 NUnit1001 - false positive for arguments with generic parameters
  • #​914 Wrong position of NUnit1001 diagnostic for TestCase with four parameters or more

Tooling, Process, and Documentation

  • #​926 chore: Bump NUnit3TestAdapter
  • #​908 chore: bump version
  • #​885 Bump to NUnit version 4.4 when this is released

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 <dependency name> major version will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)
  • @dependabot ignore <dependency name> minor version will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)
  • @dependabot ignore <dependency name> will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)
  • @dependabot unignore <dependency name> will remove all of the ignore conditions of the specified dependency
  • @dependabot unignore <dependency name> <ignore condition> will remove the ignore condition of the specified dependency and ignore conditions

Bumps NUnit.Analyzers from 4.10.0 to 4.11.2

---
updated-dependencies:
- dependency-name: NUnit.Analyzers
  dependency-version: 4.11.2
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: nunit
...

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 Nov 3, 2025
@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Nov 3, 2025

Test Results

    14 files   - 27      14 suites   - 27   3m 57s ⏱️ +6s
17 955 tests  - 29  17 953 ✅  - 29  2 💤 ±0  0 ❌ ±0 
50 511 runs   - 81  50 509 ✅  - 81  2 💤 ±0  0 ❌ ±0 

Results for commit fa62478. ± Comparison against base commit 3125a53.

This pull request removes 1581 and adds 1552 tests. Note that renamed tests count towards both.
aweXpect.Core.Tests.Core.Exceptions.FailExceptionTests ‑ Message_ShouldBeSet(message: "message01e4a3e9-9b5a-42fd-93ee-4262a16422e6")
aweXpect.Core.Tests.Core.Exceptions.FailExceptionTests ‑ Message_ShouldBeSet(message: "message6217f9ab-f6c9-44a8-9da1-9ceb6857fc92")
aweXpect.Core.Tests.Core.Exceptions.FailExceptionTests ‑ Message_ShouldBeSet(message: "message674d7144-a131-489d-8f17-d30f69ebbdc7")
aweXpect.Core.Tests.Core.Exceptions.SkipExceptionTests ‑ Message_ShouldBeSet(message: "message33851c40-3c2f-4b5c-b8ac-7ea9e8ec6776")
aweXpect.Core.Tests.Core.Exceptions.SkipExceptionTests ‑ Message_ShouldBeSet(message: "message39285032-8490-46a1-bd11-000fab4002ad")
aweXpect.Core.Tests.Core.Exceptions.SkipExceptionTests ‑ Message_ShouldBeSet(message: "message80f8029e-b011-481c-a350-f344909211fc")
aweXpect.Core.Tests.FailTests ‑ Test_ShouldThrowException(reason: "reason41eed2cc-f7eb-49ba-abab-7c776449b0b5")
aweXpect.Core.Tests.FailTests ‑ Test_ShouldThrowException(reason: "reason8032ee9f-b312-4284-a579-1d12560295f7")
aweXpect.Core.Tests.FailTests ‑ Test_ShouldThrowException(reason: "reason80e31d65-96e7-493f-8a49-88025968cd5f")
aweXpect.Core.Tests.FailTests ‑ Unless_ShouldThrowException(condition: False, reason: "reason4f09c94e-884f-43ac-a06a-472261951905")
…
aweXpect.Core.Tests.Core.Exceptions.FailExceptionTests ‑ Message_ShouldBeSet(message: "message9410ecf1-501f-46ef-a279-dd8f4f709c59")
aweXpect.Core.Tests.Core.Exceptions.FailExceptionTests ‑ Message_ShouldBeSet(message: "message9c8713a9-a7f6-44ca-a65c-8d715b429e57")
aweXpect.Core.Tests.Core.Exceptions.FailExceptionTests ‑ Message_ShouldBeSet(message: "messaged2bfb7d0-978a-4a6a-b55c-4026b28052fc")
aweXpect.Core.Tests.Core.Exceptions.SkipExceptionTests ‑ Message_ShouldBeSet(message: "message12f9212d-2e7b-461d-9332-c873a2f7f058")
aweXpect.Core.Tests.Core.Exceptions.SkipExceptionTests ‑ Message_ShouldBeSet(message: "message7d916254-e158-4439-b96c-1f49106aba1f")
aweXpect.Core.Tests.Core.Exceptions.SkipExceptionTests ‑ Message_ShouldBeSet(message: "message84a581d7-f9f9-4309-91b2-9d59b9628940")
aweXpect.Core.Tests.FailTests ‑ Test_ShouldThrowException(reason: "reason0e1325a4-4dcf-49ab-a9e3-38dc6fd4df4c")
aweXpect.Core.Tests.FailTests ‑ Test_ShouldThrowException(reason: "reason434a1411-0d38-4cb8-96af-219083cf2e87")
aweXpect.Core.Tests.FailTests ‑ Test_ShouldThrowException(reason: "reason80910284-162b-40a0-a1a1-1e9d14168df6")
aweXpect.Core.Tests.FailTests ‑ Unless_ShouldThrowException(condition: False, reason: "reason3f57fc2a-1aaa-44c5-a2df-ed1cc146a231")
…

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Nov 3, 2025

🚀 Benchmark Results

Details

BenchmarkDotNet v0.15.4, Linux Ubuntu 24.04.3 LTS (Noble Numbat)
AMD EPYC 7763 2.62GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 8.0.415
[Host] : .NET 8.0.21 (8.0.21, 8.0.2125.47513), X64 RyuJIT x86-64-v3

Job=InProcess Toolchain=InProcessEmitToolchain IterationCount=15
LaunchCount=1 WarmupCount=10

Method Mean Error StdDev Gen0 Gen1 Allocated
Bool_aweXpect 266.4 ns 2.36 ns 1.97 ns 0.0424 - 712 B
Bool_FluentAssertions 246.0 ns 8.20 ns 7.67 ns 0.0567 - 952 B
Equivalency_aweXpect 319,812.0 ns 2,593.40 ns 2,425.86 ns 20.0195 0.4883 335372 B
Equivalency_FluentAssertions 2,704,537.5 ns 47,021.62 ns 43,984.06 ns 285.1563 46.8750 4804906 B
Int_GreaterThan_aweXpect 262.5 ns 5.28 ns 4.94 ns 0.0486 - 816 B
Int_GreaterThan_FluentAssertions 260.4 ns 7.65 ns 7.16 ns 0.0730 - 1224 B
ItemsCount_AtLeast_aweXpect 448.9 ns 10.22 ns 9.56 ns 0.0772 - 1296 B
ItemsCount_AtLeast_FluentAssertions 499.8 ns 3.33 ns 2.78 ns 0.1192 - 2008 B
String_aweXpect 404.3 ns 2.45 ns 2.17 ns 0.0629 - 1056 B
String_FluentAssertions 1,288.9 ns 24.56 ns 22.97 ns 0.2346 - 3944 B
StringArray_aweXpect 1,954.6 ns 19.91 ns 18.62 ns 0.1526 - 2568 B
StringArray_FluentAssertions 1,371.3 ns 14.01 ns 13.10 ns 0.2480 - 4152 B
StringArrayInAnyOrder_aweXpect 2,583.9 ns 27.00 ns 23.94 ns 0.1640 - 2760 B
StringArrayInAnyOrder_FluentAssertions 87,572.3 ns 508.65 ns 475.79 ns 3.4180 - 58598 B

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Nov 3, 2025

👽 Mutation Results

Mutation testing badge

aweXpect

Details
File Score Killed Survived Timeout No Coverage Ignored Compile Errors Total Detected Total Undetected Total Mutants

The final mutation score is NaN%

Coverage Thresholds: high:80 low:60 break:0

aweXpect.Core

Details
File Score Killed Survived Timeout No Coverage Ignored Compile Errors Total Detected Total Undetected Total Mutants

The final mutation score is NaN%

Coverage Thresholds: high:80 low:60 break:0

@vbreuss vbreuss merged commit 45348ee into main Nov 8, 2025
12 checks passed
@vbreuss vbreuss deleted the dependabot/nuget/nunit-b730443a2f branch November 8, 2025 22:04
github-actions Bot added a commit that referenced this pull request Nov 8, 2025
github-actions Bot added a commit that referenced this pull request Nov 8, 2025
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