Skip to content

feat: exclude netstandard and WindowsBase assembly prefixes by default#971

Merged
vbreuss merged 1 commit into
mainfrom
feat/exclude-framework-assembly-prefixes
May 31, 2026
Merged

feat: exclude netstandard and WindowsBase assembly prefixes by default#971
vbreuss merged 1 commit into
mainfrom
feat/exclude-framework-assembly-prefixes

Conversation

@vbreuss

@vbreuss vbreuss commented May 31, 2026

Copy link
Copy Markdown
Member

Add "netstandard" and "WindowsBase" to the default ExcludedAssemblyPrefixes so that these framework assemblies are ignored during reflection scanning.

Add "netstandard" and "WindowsBase" to the default ExcludedAssemblyPrefixes so that these framework assemblies are ignored during reflection scanning.
@vbreuss vbreuss self-assigned this May 31, 2026
@vbreuss vbreuss added the enhancement New feature or request label May 31, 2026
@sonarqubecloud

Copy link
Copy Markdown

@github-actions

github-actions Bot commented May 31, 2026

Copy link
Copy Markdown
Contributor

Test Results

     23 files   - 27       23 suites   - 27   7m 18s ⏱️ - 1m 49s
 19 818 tests  - 28   19 817 ✅  - 28  1 💤 ±0  0 ❌ ±0 
102 440 runs   - 81  102 439 ✅  - 81  1 💤 ±0  0 ❌ ±0 

Results for commit a092ba6. ± Comparison against base commit d5f54ae.

This pull request removes 3181 and adds 3153 tests. Note that renamed tests count towards both.
aweXpect.Core.Tests.Core.Exceptions.FailExceptionTests ‑ Message_ShouldBeSet(message: "message3ce58ff7-1929-46e3-b0e1-b5fb2a148d11")
aweXpect.Core.Tests.Core.Exceptions.FailExceptionTests ‑ Message_ShouldBeSet(message: "message9505a92b-205c-4de9-b182-396ce97837d4")
aweXpect.Core.Tests.Core.Exceptions.FailExceptionTests ‑ Message_ShouldBeSet(message: "messageaa4cea91-08a9-4af3-bea6-166cc7427e79")
aweXpect.Core.Tests.Core.Exceptions.FailExceptionTests ‑ Message_ShouldBeSet(message: "messaged4098c4c-51c0-4411-9439-b04cc7490ebe")
aweXpect.Core.Tests.Core.Exceptions.FailExceptionTests ‑ Message_ShouldBeSet(message: "messaged995b95a-0bb6-4d82-86bd-e7bdc78f2217")
aweXpect.Core.Tests.Core.Exceptions.FailExceptionTests ‑ Message_ShouldBeSet(message: "messagee7e0770c-b6fd-46a3-a9a6-f87738a5c2a7")
aweXpect.Core.Tests.Core.Exceptions.SkipExceptionTests ‑ Message_ShouldBeSet(message: "message168be725-bad0-40b0-a29e-148bd3cb9c01")
aweXpect.Core.Tests.Core.Exceptions.SkipExceptionTests ‑ Message_ShouldBeSet(message: "message1fef9be7-9520-4073-84c1-df2cfb79e065")
aweXpect.Core.Tests.Core.Exceptions.SkipExceptionTests ‑ Message_ShouldBeSet(message: "message92907466-bb7e-48a3-bda2-444992b369f8")
aweXpect.Core.Tests.Core.Exceptions.SkipExceptionTests ‑ Message_ShouldBeSet(message: "messageab9585ce-431f-4ba4-b119-ef52ad03a537")
…
aweXpect.Core.Tests.Core.Exceptions.FailExceptionTests ‑ Message_ShouldBeSet(message: "message36d9a0e6-0747-4bfc-900d-904ae0988eb9")
aweXpect.Core.Tests.Core.Exceptions.FailExceptionTests ‑ Message_ShouldBeSet(message: "message41b464d9-aa79-480b-83a5-6120beb3889f")
aweXpect.Core.Tests.Core.Exceptions.FailExceptionTests ‑ Message_ShouldBeSet(message: "message427016cb-54cc-4c19-ada0-c0ababeea11b")
aweXpect.Core.Tests.Core.Exceptions.FailExceptionTests ‑ Message_ShouldBeSet(message: "message49fcf916-efd4-4746-b387-d04f200e3b5e")
aweXpect.Core.Tests.Core.Exceptions.FailExceptionTests ‑ Message_ShouldBeSet(message: "messageefa9ddf8-a292-4d01-b26a-117fcebee5bc")
aweXpect.Core.Tests.Core.Exceptions.FailExceptionTests ‑ Message_ShouldBeSet(message: "messagef28d8584-19db-4b75-b15c-28dcae17852e")
aweXpect.Core.Tests.Core.Exceptions.SkipExceptionTests ‑ Message_ShouldBeSet(message: "message2f24e7b2-95f1-4155-b080-a4568517f81b")
aweXpect.Core.Tests.Core.Exceptions.SkipExceptionTests ‑ Message_ShouldBeSet(message: "message52768248-9aa6-49b7-9b03-e5a40c9b072f")
aweXpect.Core.Tests.Core.Exceptions.SkipExceptionTests ‑ Message_ShouldBeSet(message: "message584f7cd6-0730-49fb-be17-d64dfc9b6037")
aweXpect.Core.Tests.Core.Exceptions.SkipExceptionTests ‑ Message_ShouldBeSet(message: "message9aca30c3-53ae-436d-accb-808dfb0eff1d")
…

♻️ This comment has been updated with latest results.

@github-actions

Copy link
Copy Markdown
Contributor

🚀 Benchmark Results

Details

BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.4 LTS (Noble Numbat)
Intel Xeon Platinum 8370C CPU 2.80GHz (Max: 2.79GHz), 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.300
[Host] : .NET 8.0.27 (8.0.27, 8.0.2726.22922), X64 RyuJIT x86-64-v4

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

Method Mean Error StdDev Gen0 Gen1 Allocated
Bool_aweXpect 266.8 ns 2.85 ns 2.66 ns 0.0277 - 696 B
Bool_FluentAssertions 263.8 ns 3.00 ns 2.81 ns 0.0377 - 952 B
Equivalency_aweXpect 339,970.6 ns 1,023.56 ns 907.36 ns 13.1836 0.4883 335444 B
Equivalency_FluentAssertions 2,360,257.3 ns 11,651.40 ns 10,898.72 ns 191.4063 35.1563 4841632 B
Int_GreaterThan_aweXpect 279.4 ns 2.62 ns 2.45 ns 0.0343 - 864 B
Int_GreaterThan_FluentAssertions 293.7 ns 3.35 ns 3.13 ns 0.0486 - 1224 B
ItemsCount_AtLeast_aweXpect 507.9 ns 3.50 ns 3.28 ns 0.0534 - 1360 B
ItemsCount_AtLeast_FluentAssertions 513.6 ns 4.12 ns 3.65 ns 0.0792 - 2008 B
String_aweXpect 483.6 ns 2.51 ns 2.35 ns 0.0448 - 1128 B
String_FluentAssertions 1,316.3 ns 4.89 ns 4.09 ns 0.1564 - 3944 B
StringArray_aweXpect 1,830.4 ns 7.91 ns 7.40 ns 0.1030 - 2624 B
StringArray_FluentAssertions 1,403.9 ns 18.61 ns 16.49 ns 0.1640 - 4152 B
StringArrayInAnyOrder_aweXpect 2,315.9 ns 22.98 ns 21.50 ns 0.1106 - 2816 B
StringArrayInAnyOrder_FluentAssertions 24,327.2 ns 291.79 ns 272.94 ns 1.3123 0.0305 33468 B

@github-actions

Copy link
Copy Markdown
Contributor

👽 Mutation Results

Mutation testing badge

aweXpect

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

The final mutation score is NaN%

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

aweXpect.Core

Details
File Score Killed Survived Timeout No Coverage Ignored Compile Errors Total Detected Total Undetected Total Mutants
Customization/AwexpectCustomization.Reflection.cs 91.67% 11 1 0 0 1 0 11 1 13

The final mutation score is 91.67%

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

@vbreuss vbreuss merged commit e3547a2 into main May 31, 2026
21 of 22 checks passed
@vbreuss vbreuss deleted the feat/exclude-framework-assembly-prefixes branch May 31, 2026 05:42
github-actions Bot added a commit that referenced this pull request May 31, 2026
…se assembly prefixes by default (#971) by Valentin Breuß
github-actions Bot added a commit that referenced this pull request May 31, 2026
…se assembly prefixes by default (#971) by Valentin Breuß
@github-actions

github-actions Bot commented Jun 8, 2026

Copy link
Copy Markdown
Contributor

This is addressed in release v2.35.0.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request state: released The issue is released

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant