Skip to content

Audit the mutation claims in re-pull test headers #1973

Open

Description

@neuromechanist

Found in the round-1 review of PR #1971 (Phase 7g, epic #1046). The Phase 7g suites said every property in them fails when its line is changed. The mutation runs showed that is not true for every property, so the 7g headers now say what each test kills.

Twelve older test files use the same claim, "each with a test that fails when its line is changed" (or a variant of it): backend/test/openneuro-snapshots.test.ts, backend/test/upstream-backfill-route.test.ts, backend/test/upstream-repull-advance.test.ts, backend/test/upstream-repull-dispatch.test.ts, backend/test/upstream-repull-merge-claim.test.ts, backend/test/upstream-repull-payload.test.ts, backend/test/upstream-repull-resume-routes.test.ts, backend/test/upstream-repull-scheduler.test.ts, backend/test/upstream-repull-screen.test.ts, backend/test/upstream-repulls-route.test.ts, backend/test/upstream-status-route.test.ts, and test/admin-pr-reviews-repull.test.ts.

For each file, run one mutant per listed property and either confirm the claim or narrow the header to what the file actually kills. These files predate Phase 7g, so they are filed here rather than changed in that PR.

Activity

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

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions