Skip to content

test: close the gaps that mutation tests found in the judging code - #129

Merged
leonkrix merged 1 commit into
mainfrom
test/mutants
Nov 11, 2026
Merged

leonkrix merged 1 commit into
mainfrom
test/mutants

Conversation

@leonkrix

Copy link
Copy Markdown
Owner

Runs cargo-mutants over the files that judge (stats, expect, recovery, capability, validate, units, reserved) and closes the gaps it found: 81 surviving mutants got an edge test or an explanation, 8 equivalent or defensive ones are listed in the new docs/TESTING.md.

  • Fix: the message for a reserved key said "planned for release a later release".
  • New docs/TESTING.md (kinds of test, where they run, coverage, mutation testing, rules for a new test) and the recipes just coverage and just mutants <crate> <file>. The mutation run is manual, not part of the CI.
  • No change of API or format.

@leonkrix
leonkrix merged commit db74948 into main Nov 11, 2026
38 checks passed
@leonkrix
leonkrix deleted the test/mutants branch November 11, 2026 09:25
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