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

Configuration for loading assemblies #294

Closed
wants to merge 71 commits into from
Closed

Conversation

iamdmitrij
Copy link
Owner

Closes #260.

@codecov
Copy link

codecov bot commented Apr 11, 2022

Codecov Report

Merging #294 (7a88b00) into main (1255880) will decrease coverage by 1.76%.
Report is 1 commits behind head on main.
The diff coverage is 66.66%.

❗ Current head 7a88b00 differs from pull request most recent head 777d5c5. Consider uploading reports for the commit 777d5c5 to get more accurate results

@@             Coverage Diff             @@
##              main     #294      +/-   ##
===========================================
- Coverage   100.00%   98.24%   -1.76%     
===========================================
  Files           22       22              
  Lines          220      228       +8     
  Branches        24       25       +1     
===========================================
+ Hits           220      224       +4     
- Misses           0        3       +3     
- Partials         0        1       +1     
Files Changed Coverage Δ
...c/Tethos/Extensions/Assembly/AssemblyExtensions.cs 82.60% <60.00%> (-17.40%) ⬇️
src/Tethos/AutoMockingConfiguration.cs 100.00% <100.00%> (ø)
src/Tethos/BaseAutoMockingTest.cs 100.00% <100.00%> (ø)

@github-actions
Copy link

github-actions bot commented Apr 17, 2022

🎳 Stryker Report

Mutation testing badge

📊 Reports

@github-actions
Copy link

github-actions bot commented Apr 17, 2022

🏅 Benchmark test report

Expand to see results 🔽

BenchmarkDotNet v0.13.8, Ubuntu 22.04.3 LTS (Jammy Jellyfish)
Intel Xeon CPU E5-2673 v4 2.30GHz, 1 CPU, 2 logical and 2 physical cores
.NET SDK 7.0.400
  [Host]   : .NET 7.0.10 (7.0.1023.36312), X64 RyuJIT AVX2
  ShortRun : .NET 7.0.10 (7.0.1023.36312), X64 RyuJIT AVX2

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

Method Mean Error StdDev Rank Gen0 Gen1 Gen2 Allocated
FakeItEasy.NonPublicTypes.CreateContainer 4.089 s 0.3831 s 0.0210 s 1 79000.0000 59000.0000 55000.0000 1.81 GB
NSubstitute.NonPublicTypes.CreateContainer 4.136 s 0.9094 s 0.0498 s 2 79000.0000 59000.0000 55000.0000 1.81 GB
Moq.NonPublicTypes.CreateContainer 5.185 s 0.8325 s 0.0456 s 3 82000.0000 60000.0000 54000.0000 1.89 GB

BenchmarkDotNet v0.13.8, Ubuntu 22.04.3 LTS (Jammy Jellyfish)
Intel Xeon CPU E5-2673 v4 2.30GHz, 1 CPU, 2 logical and 2 physical cores
.NET SDK 7.0.400
  [Host]     : .NET 7.0.10 (7.0.1023.36312), X64 RyuJIT AVX2
  DefaultJob : .NET 7.0.10 (7.0.1023.36312), X64 RyuJIT AVX2


Method Mean Error StdDev Rank
Moq.GetMock 1.527 μs 0.0214 μs 0.0200 μs 1
FakeItEasy.GetMock 2.009 μs 0.0276 μs 0.0245 μs 2
NSubstitute.GetMock 2.033 μs 0.0406 μs 0.0380 μs 2

BenchmarkDotNet v0.13.8, Ubuntu 22.04.3 LTS (Jammy Jellyfish)
Intel Xeon CPU E5-2673 v4 2.30GHz, 1 CPU, 2 logical and 2 physical cores
.NET SDK 7.0.400
  [Host]     : .NET 7.0.10 (7.0.1023.36312), X64 RyuJIT AVX2
  DefaultJob : .NET 7.0.10 (7.0.1023.36312), X64 RyuJIT AVX2


Method Mean Error StdDev Rank
Moq.ResolveSut 2.396 μs 0.0307 μs 0.0273 μs 1
NSubstitute.ResolveSut 2.400 μs 0.0345 μs 0.0322 μs 1
FakeItEasy.ResolveSut 2.538 μs 0.0438 μs 0.0409 μs 2

BenchmarkDotNet v0.13.8, Ubuntu 22.04.3 LTS (Jammy Jellyfish)
Intel Xeon CPU E5-2673 v4 2.30GHz, 1 CPU, 2 logical and 2 physical cores
.NET SDK 7.0.400
  [Host]   : .NET 7.0.10 (7.0.1023.36312), X64 RyuJIT AVX2
  ShortRun : .NET 7.0.10 (7.0.1023.36312), X64 RyuJIT AVX2

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

Method Mean Error StdDev Rank Gen0 Gen1 Gen2 Allocated
FakeItEasy.CreateContainer 595.2 ms 320.8 ms 17.58 ms 1 10000.0000 3000.0000 2000.0000 244.38 MB
NSubstitute.CreateContainer 600.2 ms 117.2 ms 6.42 ms 1 10000.0000 3000.0000 2000.0000 244.37 MB
Moq.CreateContainer 735.6 ms 253.3 ms 13.88 ms 2 11000.0000 3000.0000 2000.0000 263.69 MB

BenchmarkDotNet v0.13.8, Ubuntu 22.04.3 LTS (Jammy Jellyfish)
Intel Xeon CPU E5-2673 v4 2.30GHz, 1 CPU, 2 logical and 2 physical cores
.NET SDK 7.0.400
  [Host]     : .NET 7.0.10 (7.0.1023.36312), X64 RyuJIT AVX2
  DefaultJob : .NET 7.0.10 (7.0.1023.36312), X64 RyuJIT AVX2


Method Mean Error StdDev Rank
NSubstitute.ResolveFrom 2.698 μs 0.0505 μs 0.0519 μs 1
FakeItEasy.ResolveFrom 2.747 μs 0.0405 μs 0.0379 μs 1
Moq.ResolveFrom 3.275 μs 0.0288 μs 0.0241 μs 2

BenchmarkDotNet v0.13.8, Ubuntu 22.04.3 LTS (Jammy Jellyfish)
Intel Xeon CPU E5-2673 v4 2.30GHz, 1 CPU, 2 logical and 2 physical cores
.NET SDK 7.0.400
  [Host]     : .NET 7.0.10 (7.0.1023.36312), X64 RyuJIT AVX2
  DefaultJob : .NET 7.0.10 (7.0.1023.36312), X64 RyuJIT AVX2


Method Mean Error StdDev Rank
Moq.StaticResolveSut 2.587 μs 0.0293 μs 0.0260 μs 1
FakeItEasy.StaticResolveSut 2.718 μs 0.0532 μs 0.0498 μs 2
NSubstitute.StaticResolveSut 2.771 μs 0.0446 μs 0.0395 μs 2

BenchmarkDotNet v0.13.8, Ubuntu 22.04.3 LTS (Jammy Jellyfish)
Intel Xeon CPU E5-2673 v4 2.30GHz, 1 CPU, 2 logical and 2 physical cores
.NET SDK 7.0.400
  [Host]     : .NET 7.0.10 (7.0.1023.36312), X64 RyuJIT AVX2
  DefaultJob : .NET 7.0.10 (7.0.1023.36312), X64 RyuJIT AVX2


Method Mean Error StdDev Rank
Moq.NonPublicTypes.GetMock 1.542 μs 0.0177 μs 0.0166 μs 1
NSubstitute.NonPublicTypes.GetMock 1.940 μs 0.0227 μs 0.0201 μs 2
FakeItEasy.NonPublicTypes.GetMock 1.984 μs 0.0182 μs 0.0170 μs 3

@github-actions

This comment has been minimized.

@sonarcloud
Copy link

sonarcloud bot commented Jun 2, 2023

SonarCloud Quality Gate failed.    Quality Gate failed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 1 Code Smell

62.5% 62.5% Coverage
0.0% 0.0% Duplication

@sonarcloud
Copy link

sonarcloud bot commented Sep 11, 2023

SonarCloud Quality Gate failed.    Quality Gate failed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 1 Code Smell

62.5% 62.5% Coverage
0.0% 0.0% Duplication

idea Catch issues before they fail your Quality Gate with our IDE extension sonarlint SonarLint

@iamdmitrij iamdmitrij closed this May 22, 2024
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.

Configuration for loading assemblies
1 participant