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 FakeItEasy to v8.3.0 #681

Merged
merged 1 commit into from
Jun 22, 2024
Merged

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Jun 20, 2024

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
FakeItEasy (source) 8.2.0 -> 8.3.0 age adoption passing confidence

Release Notes

FakeItEasy/FakeItEasy (FakeItEasy)

v8.3.0

Compare Source

New
  • Faking delegates now about 25 times faster due to DynamicProxy's CreateDelegateToMixin (#​2013)
  • Build and test on macOS (#​2029)
Fixed
  • Adding null-valued EventHandlers to a fake leads to ArgumentNullException (#​2033)
Additional Items
  • Fix one aspect of Linux build - make build.ps1 executable on Linux (#​2017)
  • Fix docs preview workflow (#​2001, #​2003, #​2004)
  • Improve docs preview workflow (#​2006, #​2008)
  • Bump docs generation dependencies (#​2005, #​2025, #​2032)
  • Update docs to
    • use new URL in link to Moq (#​2021)
    • note that faking of generic types with methods that have in parameters works on .NET 6 and higher (#​1382)
    • stress that methods must be fully configured to capture arguments (#​2011)
    • indicate how to use A.CallTo with methods whose arguments include anonymous types (#​1593)
    • document how to use InternalsVisibleTo from project files (#​2027)
    • fix broken links (#​2023)
  • Check generated documentation for dead links (#​2024)
  • Update how to build instructions to correct mistakes and streamline (#​2016)
  • Use .NET 5.0 source generators to generate strongly-typed overloads (#​1804)
With special thanks for contributions to this release from:

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 has been generated by Mend Renovate. View repository job log here.

@renovate renovate bot enabled auto-merge (rebase) June 20, 2024 04:46
Copy link

codecov bot commented Jun 20, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 100.00%. Comparing base (62f5567) to head (95e0adf).
Report is 85 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff            @@
##              main      #681   +/-   ##
=========================================
  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 Jun 20, 2024

Copy link

🎳 Stryker Report

Mutation testing badge

📊 Reports

Copy link

🏅 Benchmark test report

Expand to see results 🔽

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


Method Mean Error StdDev Rank
FakeItEasy.StaticResolveSut 1.046 μs 0.0088 μs 0.0078 μs 1
NSubstitute.StaticResolveSut 1.061 μs 0.0039 μs 0.0031 μs 1
Moq.StaticResolveSut 1.101 μs 0.0138 μs 0.0129 μs 2

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


Method Mean Error StdDev Rank
NSubstitute.ResolveFrom 1.155 μs 0.0075 μs 0.0070 μs 1
FakeItEasy.ResolveFrom 1.236 μs 0.0065 μs 0.0061 μs 2
Moq.ResolveFrom 1.250 μs 0.0061 μs 0.0057 μs 2

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

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

Method Mean Error StdDev Rank Gen0 Gen1 Gen2 Allocated
NSubstitute.NonPublicTypes.CreateContainer 2.054 s 0.3252 s 0.0178 s 1 75000.0000 70000.0000 67000.0000 1.95 GB
FakeItEasy.NonPublicTypes.CreateContainer 2.122 s 1.2225 s 0.0670 s 2 76000.0000 71000.0000 68000.0000 1.95 GB
Moq.NonPublicTypes.CreateContainer 2.229 s 0.4990 s 0.0274 s 3 74000.0000 68000.0000 65000.0000 1.97 GB

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

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

Method Mean Error StdDev Rank Gen0 Gen1 Gen2 Allocated
Moq.CreateContainer 496.4 ms 2,909.2 ms 159.5 ms 1 5000.0000 3000.0000 2000.0000 276.71 MB
FakeItEasy.CreateContainer 505.9 ms 2,671.4 ms 146.4 ms 2 5000.0000 3000.0000 2000.0000 258.51 MB
NSubstitute.CreateContainer 516.7 ms 2,994.2 ms 164.1 ms 3 5000.0000 3000.0000 2000.0000 258.58 MB

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


Method Mean Error StdDev Rank
NSubstitute.ResolveSut 1.098 μs 0.0038 μs 0.0035 μs 1
Moq.ResolveSut 1.115 μs 0.0088 μs 0.0083 μs 2
FakeItEasy.ResolveSut 1.119 μs 0.0037 μs 0.0031 μs 2

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


Method Mean Error StdDev Rank
Moq.NonPublicTypes.GetMock 780.7 ns 8.02 ns 7.51 ns 1
NSubstitute.NonPublicTypes.GetMock 854.6 ns 2.99 ns 2.50 ns 2
FakeItEasy.NonPublicTypes.GetMock 913.2 ns 4.48 ns 4.19 ns 3

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


Method Mean Error StdDev Rank
Moq.GetMock 725.5 ns 7.77 ns 6.89 ns 1
FakeItEasy.GetMock 808.9 ns 4.45 ns 3.94 ns 2
NSubstitute.GetMock 856.1 ns 1.83 ns 1.62 ns 3

auto-merge was automatically disabled June 22, 2024 06:28

Base branch requires signed commits

@iamdmitrij iamdmitrij merged commit 2ea943f into main Jun 22, 2024
20 checks passed
@iamdmitrij iamdmitrij deleted the renovate/fakeiteasy-8.x branch June 22, 2024 06:28
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.

1 participant