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

coverage: kill mutants in ConstructorFilters With-parameter family - #266

Merged
vbreuss merged 1 commit into
mainfrom
test/mutation-constructorfilters-with-parameter
May 31, 2026
Merged

vbreuss merged 1 commit into
mainfrom
test/mutation-constructorfilters-with-parameter

Conversation

@vbreuss

@vbreuss vbreuss commented May 31, 2026

Copy link
Copy Markdown
Member

Add description assertions covering the parameter modifier description lambdas ("with in/out/optional/params/ref modifier" and "name ...") across the ConstructorFilters.With{In,Out,Optional,Params,Ref}Parameter, WithParameter and WithParameterExactly overloads, surfaced via GetDescription(). Add mixed-parameter fixtures so the parameterless WithXParameter() filters distinguish Any() from All().

Add description assertions covering the parameter modifier description
lambdas ("with in/out/optional/params/ref modifier" and "name ...")
across the ConstructorFilters.With{In,Out,Optional,Params,Ref}Parameter,
WithParameter and WithParameterExactly overloads, surfaced via
GetDescription(). Add mixed-parameter fixtures so the parameterless
WithXParameter() filters distinguish Any() from All().
@vbreuss vbreuss self-assigned this May 31, 2026
@vbreuss vbreuss added the coverage Additional tests for edge cases or improvement of test coverage label May 31, 2026
@vbreuss
vbreuss enabled auto-merge (squash) May 31, 2026 13:30
@sonarqubecloud

Copy link
Copy Markdown

@github-actions

Copy link
Copy Markdown

Test Results

    13 files  ±  0      13 suites  ±0   5m 2s ⏱️ -1s
 4 238 tests + 50   4 235 ✅ + 50   3 💤 ±0  0 ❌ ±0 
25 408 runs  +300  25 395 ✅ +300  13 💤 ±0  0 ❌ ±0 

Results for commit 971cadf. ± Comparison against base commit 0091a86.

@vbreuss
vbreuss merged commit 43c6f16 into main May 31, 2026
11 checks passed
@vbreuss
vbreuss deleted the test/mutation-constructorfilters-with-parameter branch May 31, 2026 13:34
@github-actions

Copy link
Copy Markdown

🚀 Benchmark Results

Details

BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.4 LTS (Noble Numbat)
AMD EPYC 7763 3.24GHz, 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 231.1 ns 1.99 ns 1.76 ns 0.0386 648 B

@github-actions

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

The final mutation score is NaN%

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

@github-actions

Copy link
Copy Markdown

This is addressed in release v1.5.0.

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

Labels

coverage Additional tests for edge cases or improvement of test coverage state: released The issue is released

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant