Skip to content

chore: clean up the build setup - #906

Merged
vbreuss merged 1 commit into
mainfrom
chore/build-cleanup
Oct 18, 2026
Merged

vbreuss merged 1 commit into
mainfrom
chore/build-cleanup

Conversation

@vbreuss

@vbreuss vbreuss commented Oct 18, 2026

Copy link
Copy Markdown
Member

Removes leftovers and friction in the build setup.

  • Order TUnit test methods in ReSharper/Rider the same way as xUnit tests.
  • Resolve the package README relative to Source/Directory.Build.props instead of $(SolutionDir), so building a single source project no longer fails at pack with NU5019/NU5039.

Removes leftovers and friction in the build setup.

- Order TUnit test methods in ReSharper/Rider the same way as xUnit tests.
- Resolve the package README relative to `Source/Directory.Build.props` instead of `$(SolutionDir)`, so building a single source project no longer fails at pack with NU5019/NU5039.
@vbreuss vbreuss self-assigned this Oct 18, 2026
Copilot AI balanced review requested due to automatic review settings October 18, 2026 18:21

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@vbreuss
vbreuss enabled auto-merge (squash) October 18, 2026 18:21
@sonarqubecloud

Copy link
Copy Markdown

@github-actions

Copy link
Copy Markdown

Test Results

    24 files      24 suites   39m 13s ⏱️
 4 514 tests  4 514 ✅ 0 💤 0 ❌
28 680 runs  28 680 ✅ 0 💤 0 ❌

Results for commit e6bed1b.

@vbreuss
vbreuss merged commit 03b5099 into main Oct 18, 2026
18 checks passed
@vbreuss
vbreuss deleted the chore/build-cleanup branch October 18, 2026 20:25
@github-actions

Copy link
Copy Markdown

🚀 Benchmark Results

Details

BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
AMD EPYC 7763 2.84GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.303
[Host] : .NET 10.0.13 (10.0.13, 10.0.1326.50504), X64 RyuJIT x86-64-v3

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

Method N Mean Error StdDev Ratio Allocated Alloc Ratio
baseline* 1 377.9 ns 10.49 ns 9.81 ns 1.07 1.93 KB 1.00
Mockolate 1 352.1 ns 3.98 ns 3.11 ns 1.00 1.93 KB 1.00
Imposter 1 546.1 ns 4.07 ns 3.80 ns 1.55 3.96 KB 2.05
TUnitMocks 1 484.1 ns 4.88 ns 4.56 ns 1.38 2.04 KB 1.06
Moq 1 184,750.3 ns 1,505.31 ns 1,408.07 ns 524.82 14.58 KB 7.55
NSubstitute 1 6,176.8 ns 39.67 ns 35.17 ns 17.55 9.12 KB 4.72
FakeItEasy 1 6,300.5 ns 68.19 ns 63.78 ns 17.90 8.05 KB 4.17
baseline* 10 684.1 ns 19.95 ns 18.66 ns 1.03 2.14 KB 1.00
Mockolate 10 665.0 ns 6.69 ns 6.26 ns 1.00 2.14 KB 1.00
Imposter 10 886.5 ns 14.14 ns 13.23 ns 1.33 4.8 KB 2.24
TUnitMocks 10 1,376.6 ns 14.84 ns 13.88 ns 2.07 3.75 KB 1.75
Moq 10 193,660.5 ns 988.43 ns 876.22 ns 291.26 18.48 KB 8.63
NSubstitute 10 8,939.0 ns 58.44 ns 54.66 ns 13.44 12.07 KB 5.64
FakeItEasy 10 9,687.0 ns 56.00 ns 52.38 ns 14.57 15.42 KB 7.20
Details

BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
AMD EPYC 7763 2.45GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.303
[Host] : .NET 10.0.13 (10.0.13, 10.0.1326.50504), X64 RyuJIT x86-64-v3

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

Event Mean Error StdDev Ratio Allocated Alloc Ratio
baseline* 169.63 ns 4.339 ns 4.059 ns 0.54 1.7 KB 1.00
Mockolate 316.8 ns 11.12 ns 9.86 ns 1.00 1.7 KB 1.00
Imposter 921.3 ns 19.66 ns 18.39 ns 2.91 7.18 KB 4.22
TUnitMocks 200.9 ns 9.01 ns 8.43 ns 0.63 1.36 KB 0.80
Moq 16,193.0 ns 97.18 ns 90.90 ns 51.17 12.51 KB 7.35
NSubstitute 5,942.5 ns 57.88 ns 54.14 ns 18.78 9.05 KB 5.31
FakeItEasy 220,476.6 ns 2,175.44 ns 2,034.91 ns 696.69 15.26 KB 8.96
Details

BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
AMD EPYC 9V74 2.60GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.303
[Host] : .NET 10.0.13 (10.0.13, 10.0.1326.50504), X64 RyuJIT x86-64-v4

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

Callback Mean Error StdDev Ratio Allocated Alloc Ratio
baseline* 215.7 ns 5.42 ns 4.81 ns 0.93 1.57 KB 1.00
Mockolate 231.7 ns 0.71 ns 0.55 ns 1.00 1.57 KB 1.00
Imposter 329.9 ns 2.13 ns 1.89 ns 1.42 2.37 KB 1.51
TUnitMocks 399.3 ns 2.00 ns 1.67 ns 1.72 2.02 KB 1.28
Moq 54,721.0 ns 168.80 ns 157.90 ns 236.14 8.88 KB 5.66
NSubstitute 3,368.7 ns 41.69 ns 39.00 ns 14.54 7.71 KB 4.91
FakeItEasy 3,460.3 ns 46.48 ns 43.48 ns 14.93 6.81 KB 4.33
Details

BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
AMD EPYC 9V74 2.60GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.303
[Host] : .NET 10.0.13 (10.0.13, 10.0.1326.50504), X64 RyuJIT x86-64-v3

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

Indexer N Mean Error StdDev Ratio Allocated Alloc Ratio
baseline* 1 921.1 ns 22.93 ns 21.44 ns 0.91 3.77 KB 1.00
Mockolate 1 1,016.2 ns 25.79 ns 24.12 ns 1.00 3.77 KB 1.00
Imposter 1 819.4 ns 9.29 ns 8.23 ns 0.81 4.99 KB 1.33
Moq 1 169,952.4 ns 832.32 ns 737.83 ns 167.33 20.37 KB 5.41
NSubstitute 1 9,559.4 ns 78.92 ns 73.82 ns 9.41 12.78 KB 3.39
FakeItEasy 1 9,982.6 ns 66.26 ns 58.74 ns 9.83 13.63 KB 3.62
baseline* 10 2,396.3 ns 12.49 ns 11.68 ns 0.95 4.82 KB 1.00
Mockolate 10 2,510.7 ns 17.95 ns 15.91 ns 1.00 4.82 KB 1.00
Imposter 10 1,471.8 ns 13.76 ns 12.87 ns 0.59 6.47 KB 1.34
Moq 10 182,023.9 ns 896.54 ns 699.96 ns 72.50 29.89 KB 6.20
NSubstitute 10 23,717.3 ns 77.14 ns 72.16 ns 9.45 25.58 KB 5.31
FakeItEasy 10 21,047.2 ns 107.16 ns 100.24 ns 8.38 32.97 KB 6.84
Details

BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
AMD EPYC 9V74 2.87GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.303
[Host] : .NET 10.0.13 (10.0.13, 10.0.1326.50504), X64 RyuJIT x86-64-v3

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

CreateMock Mean Error StdDev Ratio Allocated Alloc Ratio
baseline* 20.91 ns 1.009 ns 0.944 ns 1.14 160 B 1.00
Mockolate 18.33 ns 0.163 ns 0.128 ns 1.00 160 B 1.00
Imposter 285.95 ns 5.634 ns 5.270 ns 15.60 2240 B 14.00
TUnitMocks 37.46 ns 0.112 ns 0.104 ns 2.04 216 B 1.35
Moq 1,400.76 ns 6.303 ns 5.896 ns 76.42 2096 B 13.10
NSubstitute 1,914.45 ns 10.983 ns 9.171 ns 104.44 5048 B 31.55
FakeItEasy 1,815.12 ns 22.874 ns 20.277 ns 99.02 2763 B 17.27
Details

BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
INTEL XEON PLATINUM 8573C 2.30GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.303
[Host] : .NET 10.0.13 (10.0.13, 10.0.1326.50504), X64 RyuJIT x86-64-v4

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

Property N Mean Error StdDev Ratio Allocated Alloc Ratio
baseline* 1 593.3 ns 11.87 ns 11.10 ns 1.28 2.41 KB 1.00
Mockolate 1 464.0 ns 3.27 ns 3.06 ns 1.00 2.41 KB 1.00
Imposter 1 305.8 ns 3.17 ns 2.81 ns 0.66 2.98 KB 1.23
TUnitMocks 1 433.3 ns 12.53 ns 11.72 ns 0.93 1.66 KB 0.69
Moq 1 8,147.8 ns 136.91 ns 128.06 ns 17.56 10.39 KB 4.30
NSubstitute 1 5,471.1 ns 72.36 ns 64.14 ns 11.79 11.45 KB 4.74
FakeItEasy 1 4,982.9 ns 173.22 ns 153.56 ns 10.74 11.23 KB 4.65
baseline* 10 959.2 ns 15.07 ns 14.09 ns 0.86 2.91 KB 1.00
Mockolate 10 1,109.3 ns 42.30 ns 39.56 ns 1.00 2.91 KB 1.00
Imposter 10 529.1 ns 16.17 ns 14.33 ns 0.48 3.26 KB 1.12
TUnitMocks 10 1,681.3 ns 58.10 ns 54.34 ns 1.52 3.95 KB 1.36
Moq 10 13,426.3 ns 257.44 ns 240.81 ns 12.12 18.28 KB 6.29
NSubstitute 10 13,096.0 ns 369.81 ns 345.92 ns 11.82 21.08 KB 7.25
FakeItEasy 10 14,028.2 ns 545.78 ns 510.52 ns 12.66 30.8 KB 10.60

baseline* rows show the corresponding Mockolate benchmark from the most recent successful main branch build with results, for regression comparison.

@github-actions

Copy link
Copy Markdown

👽 Mutation Results

Mutation testing badge

Mockolate

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

The final mutation score is NaN%

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

github-actions Bot added a commit that referenced this pull request Oct 19, 2026
github-actions Bot added a commit that referenced this pull request Oct 19, 2026
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.

2 participants