Skip to content

coverage: kill statistics/timer mutation survivors#159

Merged
vbreuss merged 2 commits into
mainfrom
tests/mutants-statistics-timer
May 31, 2026
Merged

coverage: kill statistics/timer mutation survivors#159
vbreuss merged 2 commits into
mainfrom
tests/mutants-statistics-timer

Conversation

@vbreuss

@vbreuss vbreuss commented May 31, 2026

Copy link
Copy Markdown
Member

No description provided.

@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:54
@github-actions

github-actions Bot commented May 31, 2026

Copy link
Copy Markdown

Test Results

    7 files  ±  0      7 suites  ±0   55s ⏱️ +8s
  962 tests + 17    961 ✅ + 17  1 💤 ±0  0 ❌ ±0 
5 734 runs  +102  5 733 ✅ +102  1 💤 ±0  0 ❌ ±0 

Results for commit e231d00. ± Comparison against base commit d7f0add.

♻️ This comment has been updated with latest results.

@github-actions

github-actions Bot commented May 31, 2026

Copy link
Copy Markdown

🚀 Benchmark Results

Details

BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.4 LTS (Noble Numbat)
Intel Xeon Platinum 8370C CPU 2.80GHz, 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-v4
DefaultJob : .NET 10.0.8 (10.0.8, 10.0.826.23019), X64 RyuJIT x86-64-v4

Method Mean Error StdDev Gen0 Gen1 Allocated
Dummy_aweXpect 5.450 μs 0.0345 μs 0.0323 μs 0.2899 0.0610 7.19 KB

@github-actions

Copy link
Copy Markdown

👽 Mutation Results

Mutation testing badge

aweXpect.Testably

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

vbreuss added 2 commits May 31, 2026 16:21
Drive the timer with DisableAutoAdvance + TimeProvider.AdvanceBy so the
execution count is exact and the timer thread blocks on a time-change
notification instead of spinning a 1ms period. A synchronization barrier
(Executed().Never().Within) before AdvanceBy ensures the timer has
subscribed to its first due-time before the clock is advanced.

The previous free-running approach overshot the count (e.g. 1090
executions) and spun the CPU, starving the 2-core CI runner and timing
out unrelated timer tests.
@vbreuss vbreuss force-pushed the tests/mutants-statistics-timer branch from f077e9c to e231d00 Compare May 31, 2026 14:22
@sonarqubecloud

Copy link
Copy Markdown

@vbreuss vbreuss merged commit 16f0663 into main May 31, 2026
12 checks passed
@vbreuss vbreuss deleted the tests/mutants-statistics-timer branch May 31, 2026 14:33
@github-actions

github-actions Bot commented Jun 4, 2026

Copy link
Copy Markdown

This is addressed in release v1.0.0.

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

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