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 Moq to 4.20.71 #714

Merged
merged 1 commit into from
Sep 3, 2024
Merged

Update dependency Moq to 4.20.71 #714

merged 1 commit into from
Sep 3, 2024

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Sep 3, 2024

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
Moq 4.20.70 -> 4.20.71 age adoption passing confidence

Release Notes

moq/moq (Moq)

v4.20.71

Full Changelog

🐛 Fixed bugs:

  • (To delete) #​1497
  • Documentation link gives 404 #​1495
  • mock.Protected().Verify() does not work correctly #​1493
  • Documentation link is broken #​1487
  • Moq library throwing TypeIniatilizationException. #​1459

🔨 Other:

  • Documentation Unavailable Online #​1473
  • Supporting .NET8 #​1462
  • Some source code files is filled with comments like: "Unmerged change from project " #​1451
  • Question: would it make sense to call verify all on a strict mock when the mock gets disposed? #​1440
  • SponsorLink Integration Makes Moq Unuasable due to PII and GDPR Requirements #​1433
  • Default value ILookup<> in loose mode is null #​1391
  • Verifying a protected method when the exact parameter types are not statically known #​1339

🔀 Merged:


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 Sep 3, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 100.00%. Comparing base (62f5567) to head (ecf8c23).
Report is 117 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff            @@
##              main      #714   +/-   ##
=========================================
  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

github-actions bot commented Sep 3, 2024

🎳 Stryker Report

Mutation testing badge

📊 Reports

Copy link

sonarqubecloud bot commented Sep 3, 2024

Copy link

github-actions bot commented Sep 3, 2024

🏅 Benchmark test report

Expand to see results 🔽

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


Method Mean Error StdDev Rank
Moq.GetMock 720.0 ns 4.67 ns 3.90 ns 1
NSubstitute.GetMock 793.3 ns 4.20 ns 3.93 ns 2
FakeItEasy.GetMock 803.4 ns 5.07 ns 4.74 ns 2

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


Method Mean Error StdDev Rank
FakeItEasy.StaticResolveSut 1.060 μs 0.0084 μs 0.0078 μs 1
Moq.StaticResolveSut 1.078 μs 0.0069 μs 0.0065 μs 1
NSubstitute.StaticResolveSut 1.099 μs 0.0024 μs 0.0018 μs 1

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


Method Mean Error StdDev Rank
Moq.ResolveSut 1.021 μs 0.0029 μs 0.0026 μs 1
NSubstitute.ResolveSut 1.054 μs 0.0019 μs 0.0016 μs 2
FakeItEasy.ResolveSut 1.086 μs 0.0060 μs 0.0050 μs 3

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


Method Mean Error StdDev Rank
Moq.NonPublicTypes.GetMock 777.6 ns 4.96 ns 4.64 ns 1
NSubstitute.NonPublicTypes.GetMock 859.9 ns 5.48 ns 4.86 ns 2
FakeItEasy.NonPublicTypes.GetMock 861.8 ns 2.32 ns 1.81 ns 2

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

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

Method Mean Error StdDev Rank Gen0 Gen1 Gen2 Allocated
NSubstitute.NonPublicTypes.CreateContainer 2.137 s 1.0292 s 0.0564 s 1 74000.0000 69000.0000 66000.0000 2.02 GB
FakeItEasy.NonPublicTypes.CreateContainer 2.170 s 0.9788 s 0.0536 s 1 72000.0000 67000.0000 64000.0000 2.02 GB
Moq.NonPublicTypes.CreateContainer 2.492 s 0.4999 s 0.0274 s 1 75000.0000 68000.0000 65000.0000 2.12 GB

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


Method Mean Error StdDev Rank
Moq.ResolveFrom 1.202 μs 0.0041 μs 0.0035 μs 1
FakeItEasy.ResolveFrom 1.229 μs 0.0035 μs 0.0029 μs 1
NSubstitute.ResolveFrom 1.239 μs 0.0099 μs 0.0093 μs 1

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

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

Method Mean Error StdDev Rank Gen0 Gen1 Gen2 Allocated
FakeItEasy.CreateContainer 526.8 ms 2,549.2 ms 139.7 ms 1 6000.0000 4000.0000 3000.0000 272.38 MB
Moq.CreateContainer 535.4 ms 3,687.2 ms 202.1 ms 1 6000.0000 4000.0000 3000.0000 283.37 MB
NSubstitute.CreateContainer 543.7 ms 1,983.1 ms 108.7 ms 1 6000.0000 4000.0000 3000.0000 272.41 MB

@renovate renovate bot merged commit c233035 into main Sep 3, 2024
20 checks passed
@renovate renovate bot deleted the renovate/moq-4.x branch September 3, 2024 09:49
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