Skip to content

test: harden suite with mutation-driven boundary & property tests#15

Closed
MerlijnW70 wants to merge 1 commit into
mainfrom
test/mutation-property-hardening
Closed

test: harden suite with mutation-driven boundary & property tests#15
MerlijnW70 wants to merge 1 commit into
mainfrom
test/mutation-property-hardening

Conversation

@MerlijnW70

Copy link
Copy Markdown
Owner

Strengthen the test suite across all four crates so injected regressions are caught, not merely executed:

  • core/budget: exact-at-limit boundary + "remediation only on failure" unit tests for every clause; deterministic property/law sweep for the five float clauses (boundary correctness, improvement-never-fails, monotonicity, status/severity/remediation consistency).
  • core (confidence, model, parser, baseline, config, metadata): pin match-arm labels, threshold boundaries (probed from both sides), defaults, and error guards.
  • report (html, junit, markdown, model): "rich report" + baseline-delta + failing-scenario cases that exercise scopes, diagnostics, status_class / status_emoji and the non-empty-section render guards.
  • cli (exit, run, ci, baseline, comment, import, init, explain): exit-code mapping, log-size caps, registry/IO helpers, and temp-fixture command tests through the real run() entry point.

.gitignore: ignore cargo-mutants output.

Strengthen the test suite across all four crates so injected regressions
are caught, not merely executed:

- core/budget: exact-at-limit boundary + "remediation only on failure"
  unit tests for every clause; deterministic property/law sweep for the
  five float clauses (boundary correctness, improvement-never-fails,
  monotonicity, status/severity/remediation consistency).
- core (confidence, model, parser, baseline, config, metadata): pin
  match-arm labels, threshold boundaries (probed from both sides),
  defaults, and error guards.
- report (html, junit, markdown, model): "rich report" + baseline-delta +
  failing-scenario cases that exercise scopes, diagnostics, status_class /
  status_emoji and the non-empty-section render guards.
- cli (exit, run, ci, baseline, comment, import, init, explain): exit-code
  mapping, log-size caps, registry/IO helpers, and temp-fixture command
  tests through the real run() entry point.

.gitignore: ignore cargo-mutants output.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@MerlijnW70 MerlijnW70 closed this Jun 26, 2026
@MerlijnW70 MerlijnW70 deleted the test/mutation-property-hardening branch June 26, 2026 17: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