Skip to content
This repository was archived by the owner on Nov 10, 2026. It is now read-only.

feat: add strong named assembly filter and assertions - #299

Merged
vbreuss merged 1 commit into
mainfrom
feature/226-strong-named-assembly
Jun 4, 2026
Merged

vbreuss merged 1 commit into
mainfrom
feature/226-strong-named-assembly

Conversation

@vbreuss

@vbreuss vbreuss commented Jun 4, 2026

Copy link
Copy Markdown
Member

Add filtering and assertion methods for strong named assemblies, mirroring the existing assembly API:

  • Filter: WhichAreStrongNamed / WhichAreNotStrongNamed
  • Single assertion: IsStrongNamed / IsNotStrongNamed
  • Many assertion: AreStrongNamed / AreNotStrongNamed

An assembly is considered strong named when its name carries a non-empty public key token.


Add filtering and assertion methods for strong named assemblies,
mirroring the existing assembly API:

- Filter: WhichAreStrongNamed / WhichAreNotStrongNamed
- Single assertion: IsStrongNamed / IsNotStrongNamed
- Many assertion: AreStrongNamed / AreNotStrongNamed

An assembly is considered strong named when its name carries a
non-empty public key token.
@vbreuss vbreuss self-assigned this Jun 4, 2026
@vbreuss vbreuss added the enhancement New feature or request label Jun 4, 2026
@sonarqubecloud

sonarqubecloud Bot commented Jun 4, 2026

Copy link
Copy Markdown

@github-actions

github-actions Bot commented Jun 4, 2026

Copy link
Copy Markdown

Test Results

    13 files  ±  0      13 suites  ±0   6m 58s ⏱️ +9s
 5 457 tests + 28   5 454 ✅ + 28   3 💤 ±0  0 ❌ ±0 
32 722 runs  +168  32 709 ✅ +168  13 💤 ±0  0 ❌ ±0 

Results for commit dc996d1. ± Comparison against base commit 58ff012.

@github-actions

github-actions Bot commented Jun 4, 2026

Copy link
Copy Markdown

🚀 Benchmark Results

Details

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

Method Mean Error StdDev Gen0 Allocated
TypeIsNotStatic_aweXpect 217.8 ns 3.24 ns 3.03 ns 0.0386 648 B

@github-actions

github-actions Bot commented Jun 4, 2026

Copy link
Copy Markdown

👽 Mutation Results

Mutation testing badge

aweXpect.Reflection

Details
File Score Killed Survived Timeout No Coverage Ignored Compile Errors Total Detected Total Undetected Total Mutants
Filters/AssemblyFilters.WhichAreStrongNamed.cs 100.00% 3 0 0 0 0 0 3 0 3
Helpers/AssemblyHelpers.cs 94.87% 36 2 1 0 6 5 37 2 50
ThatAssemblies.AreStrongNamed.cs 100.00% 18 0 0 0 4 12 18 0 34
ThatAssembly.IsStrongNamed.cs 100.00% 10 0 0 0 3 6 10 0 19

The final mutation score is 97.14%

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

@vbreuss
vbreuss merged commit 3627583 into main Jun 4, 2026
11 checks passed
@vbreuss
vbreuss deleted the feature/226-strong-named-assembly branch June 4, 2026 07:16
@github-actions

github-actions Bot commented Jun 7, 2026

Copy link
Copy Markdown

This is addressed in release v2.0.0.

@github-actions github-actions Bot added the state: released The issue is released label Jun 7, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

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.

WhichAreStrongNamed() filter and assertion for assemblies

1 participant