Skip to content

chore(aidd-craft): decide how far craft goes on mutation testing #1265

Open

Description

@BlandineRdl

Epic: #1259

Decision needed

The craft rules make killed mutants, not coverage, the measure of test quality. aidd-dev:06-test forbids installing a mutation dependency. How far should aidd-craft go?

Options

  • (a) A rule recommends mutation testing; craft never installs a tool.
  • (b) init proposes the mutation tool matching the stack and installs it only on the user's approval.

Recommendation: (a)

Stack- and tool-agnostic, consistent with aidd-dev, and keeps init free of dependencies.
Trade-off, on quality: killed mutants are the only objective check that the tests are worth something. Under (a), the autonomous TDD mode has no such measure; only the judgment of the validation and review steps remains, which is subjective. (a) trades test quality in autonomous mode for agnosticism, and the Epic's success evidence cannot measure mutation until a tool exists in the project.

@blafourcade: your opinion is wanted on this trade-off specifically.

Done when

One option is chosen and recorded on this issue.

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

    No labels
    No labels

    Type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions