Skip to content

test: close the surviving mutants and mutation test PRs in CI - #145

Merged
Endika merged 2 commits into
mainfrom
test/mutants
Nov 30, 2026
Merged

Endika merged 2 commits into
mainfrom
test/mutants

Conversation

@Endika

@Endika Endika commented Nov 30, 2026

Copy link
Copy Markdown
Owner

The site's logic in src/lib had 10 surviving mutants out of 112, in two gaps:

  • No test checked the alphabetical, case-insensitive order inside each category. The first groupByCategory test even claimed it preserved the input order. It now feeds an unsorted list with B and b.
  • isThemePref was only checked with auto; it now checks all three values.

Also adds a Stryker step to the CI job. It mutates every changed file in src/lib plus the src/lib file behind every changed test, and fails below 100 %. Pages, components, data and the client wiring stay out.

@Endika
Endika enabled auto-merge (rebase) November 30, 2026 22:56
@Endika
Endika merged commit 3dfb3db into main Nov 30, 2026
4 checks passed
@Endika
Endika deleted the test/mutants branch November 30, 2026 23:18
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.

1 participant