Skip to content

Test architecture: cargo-mutants + cargo-fuzz + golden XMP corpus #101

Open

Description

@utof

Architecture audit flags three missing layers in the test architecture, all fix-before-plugins:

  1. Mutation testing via cargo-mutants — AI-written tests often look right but miss edge cases; mutation testing catches this.
  2. Fuzzing via cargo-fuzz for hashing pipeline + any XMP/EXIF parsing (notoriously hostile inputs).
  3. Golden XMP corpus: curated set of RAW files from Canon/Nikon/Sony/Fuji/DNG with verified round-trip assertions — metadata extraction regressions would otherwise surface only in user-reported bugs.

Each layer is independently valuable; all three together close the "LLM-authored code passes tests but fails on real-world input" risk. Parent: #81.

Activity

  1. added
    type/chore
    status/needs-research
    on Apr 20, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    status/needs-researchtype/chore

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions