Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update dependency NUnit.Analyzers to 4.4.0 #740

Merged
merged 1 commit into from
Nov 14, 2024

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Nov 14, 2024

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
NUnit.Analyzers 4.3.0 -> 4.4.0 age adoption passing confidence

Release Notes

nunit/nunit.analyzers (NUnit.Analyzers)

v4.4.0: NUnit Analyzers 4.4 - November 13, 2024

Compare Source

NUnit Analyzers 4.4 - November 13, 2024

This release of the NUnit Analyzers adds handling of Assert.IsAssignableFrom/Assert.IsNotAssignableFrom and
Assert.Positive/Assert.Negative. Also insertion of trivia for code fixes for NUnit2007 and NUnit2046
have been improved.

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

Issues Resolved

Features and Enhancements

  • #​790 NUnit.Analyzers 4.3.0 missed an Assert.IsAssignableFrom that caused a build error after upgrading to latest NUnit 4.2.2
  • #​789 NUnit.Analyzers 4.3.0 missed an Assert.Positive that caused a build error after upgrading to latest NUnit 4.2.2

Bugs

  • #​784 Fix trivia for NUnit2046
  • #​783 NUnit2007 doesn't apply trivia correctly

Tooling, Process, and Documentation

  • #​788 chore: Bump NUnit to version 4.2.2
  • #​785 chore(deps): Bump NUnit3TestAdapter from 4.5.0 to 4.6.0
  • #​780 chore(deps): Bump CSharpIsNullAnalyzer from 0.1.495 to 0.1.593
  • #​778 chore(deps): Bump Microsoft.NET.Test.Sdk from 17.10.0 to 17.11.1
  • #​776 chore: bump version
  • #​775 chore: Update release notes

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

Copy link

codecov bot commented Nov 14, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 100.00%. Comparing base (62f5567) to head (01d1273).
Report is 141 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff            @@
##              main      #740   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files           22        22           
  Lines          220       220           
  Branches        24        24           
=========================================
  Hits           220       220           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link

sonarcloud bot commented Nov 14, 2024

Copy link

🎳 Stryker Report

Mutation testing badge

📊 Reports

Copy link

🏅 Benchmark test report

Expand to see results 🔽

BenchmarkDotNet v0.14.0, Ubuntu 22.04.5 LTS (Jammy Jellyfish)
AMD EPYC 7763, 1 CPU, 4 logical and 2 physical cores
.NET SDK 8.0.404
  [Host]     : .NET 8.0.11 (8.0.1124.51707), X64 RyuJIT AVX2
  DefaultJob : .NET 8.0.11 (8.0.1124.51707), X64 RyuJIT AVX2


Method Mean Error StdDev Rank
Moq.GetMock 726.1 ns 6.03 ns 5.64 ns 1
FakeItEasy.GetMock 785.5 ns 1.36 ns 1.06 ns 2
NSubstitute.GetMock 856.1 ns 8.04 ns 7.52 ns 3

BenchmarkDotNet v0.14.0, Ubuntu 22.04.5 LTS (Jammy Jellyfish)
AMD EPYC 7763, 1 CPU, 4 logical and 2 physical cores
.NET SDK 8.0.404
  [Host]     : .NET 8.0.11 (8.0.1124.51707), X64 RyuJIT AVX2
  DefaultJob : .NET 8.0.11 (8.0.1124.51707), X64 RyuJIT AVX2


Method Mean Error StdDev Rank
FakeItEasy.StaticResolveSut 1.016 μs 0.0085 μs 0.0080 μs 1
Moq.StaticResolveSut 1.027 μs 0.0025 μs 0.0020 μs 1
NSubstitute.StaticResolveSut 1.044 μs 0.0097 μs 0.0090 μs 1

BenchmarkDotNet v0.14.0, Ubuntu 22.04.5 LTS (Jammy Jellyfish)
AMD EPYC 7763, 1 CPU, 4 logical and 2 physical cores
.NET SDK 8.0.404
  [Host]     : .NET 8.0.11 (8.0.1124.51707), X64 RyuJIT AVX2
  DefaultJob : .NET 8.0.11 (8.0.1124.51707), X64 RyuJIT AVX2


Method Mean Error StdDev Rank
NSubstitute.ResolveSut 1.030 μs 0.0086 μs 0.0080 μs 1
FakeItEasy.ResolveSut 1.079 μs 0.0074 μs 0.0066 μs 2
Moq.ResolveSut 1.088 μs 0.0026 μs 0.0021 μs 2

BenchmarkDotNet v0.14.0, Ubuntu 22.04.5 LTS (Jammy Jellyfish)
AMD EPYC 7763, 1 CPU, 4 logical and 2 physical cores
.NET SDK 8.0.404
  [Host]   : .NET 8.0.11 (8.0.1124.51707), X64 RyuJIT AVX2
  ShortRun : .NET 8.0.11 (8.0.1124.51707), X64 RyuJIT AVX2

Job=ShortRun  IterationCount=3  LaunchCount=1  
WarmupCount=3  

Method Mean Error StdDev Rank Gen0 Gen1 Gen2 Allocated
Moq.CreateContainer 560.8 ms 2,943.0 ms 161.3 ms 1 6000.0000 4000.0000 3000.0000 298.14 MB
NSubstitute.CreateContainer 563.9 ms 2,149.4 ms 117.8 ms 1 6000.0000 4000.0000 3000.0000 291.26 MB
FakeItEasy.CreateContainer 592.2 ms 2,251.9 ms 123.4 ms 1 6000.0000 4000.0000 3000.0000 291.23 MB

BenchmarkDotNet v0.14.0, Ubuntu 22.04.5 LTS (Jammy Jellyfish)
AMD EPYC 7763, 1 CPU, 4 logical and 2 physical cores
.NET SDK 8.0.404
  [Host]     : .NET 8.0.11 (8.0.1124.51707), X64 RyuJIT AVX2
  DefaultJob : .NET 8.0.11 (8.0.1124.51707), X64 RyuJIT AVX2


Method Mean Error StdDev Rank
Moq.NonPublicTypes.GetMock 759.1 ns 3.91 ns 3.47 ns 1
NSubstitute.NonPublicTypes.GetMock 856.1 ns 0.87 ns 0.78 ns 2
FakeItEasy.NonPublicTypes.GetMock 888.3 ns 5.49 ns 5.14 ns 3

BenchmarkDotNet v0.14.0, Ubuntu 22.04.5 LTS (Jammy Jellyfish)
AMD EPYC 7763, 1 CPU, 4 logical and 2 physical cores
.NET SDK 8.0.404
  [Host]     : .NET 8.0.11 (8.0.1124.51707), X64 RyuJIT AVX2
  DefaultJob : .NET 8.0.11 (8.0.1124.51707), X64 RyuJIT AVX2


Method Mean Error StdDev Rank
NSubstitute.ResolveFrom 1.143 μs 0.0111 μs 0.0104 μs 1
FakeItEasy.ResolveFrom 1.173 μs 0.0093 μs 0.0087 μs 1
Moq.ResolveFrom 1.181 μs 0.0092 μs 0.0082 μs 1

BenchmarkDotNet v0.14.0, Ubuntu 22.04.5 LTS (Jammy Jellyfish)
AMD EPYC 7763, 1 CPU, 4 logical and 2 physical cores
.NET SDK 8.0.404
  [Host]   : .NET 8.0.11 (8.0.1124.51707), X64 RyuJIT AVX2
  ShortRun : .NET 8.0.11 (8.0.1124.51707), X64 RyuJIT AVX2

Job=ShortRun  IterationCount=3  LaunchCount=1  
WarmupCount=3  

Method Mean Error StdDev Rank Gen0 Gen1 Gen2 Allocated
NSubstitute.NonPublicTypes.CreateContainer 2.222 s 1.3451 s 0.0737 s 1 79000.0000 74000.0000 71000.0000 2.06 GB
FakeItEasy.NonPublicTypes.CreateContainer 2.238 s 0.0545 s 0.0030 s 1 79000.0000 74000.0000 71000.0000 2.06 GB
Moq.NonPublicTypes.CreateContainer 2.633 s 0.3958 s 0.0217 s 1 81000.0000 74000.0000 71000.0000 2.17 GB

@renovate renovate bot merged commit d73fff8 into main Nov 14, 2024
20 checks passed
@renovate renovate bot deleted the renovate/nunit.analyzers-4.x branch November 14, 2024 03:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants