Skip to content

Testing: Mutation testing for contracts and critical backend logic #802

Description

@joelpeace48-cell

Context

High line coverage doesn't prove the tests catch real bugs. Mutation testing measures whether tests
fail when logic is perturbed.

Scope

  • Run a mutation tool (cargo-mutants for Rust; Stryker for JS) on financial/auth-critical modules.
  • Set a mutation-score threshold for those modules; add tests to kill survivors.

Acceptance criteria

  • Critical modules meet a defined mutation score; surviving mutants are triaged.

Verification

  • CI reports mutation score; threshold gate enforced on critical paths.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions