Skip to content

test(fixtures): fail when a required fixture group is missing #248

Description

@karagozemin

Problem

The fixture-size checker reports a missing or empty configured fixture directory as SKIP and still exits successfully. Deleting an entire required fixture group can therefore bypass the size-budget CI check.

Task

Make configured fixture groups required. A missing or empty group must fail with a clear diagnostic. Add a focused regression test.

Acceptance criteria

  • Missing and empty required groups produce a non-zero exit.
  • Existing fixture groups still pass.
  • The checker test suite covers the failure path.
  • No fixture contents or budgets are changed.

Suggested implementation prompt

Update the fixture-size checker so a configured group cannot silently disappear, add a regression test using a temporary project fixture, run the checker tests, and keep the change scoped to this behavior.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

GrantFox OSSIssue tracked in GrantFox OSSMaybe RewardedIssue may be eligible for a GrantFox rewardThird CampaignCampaign: Third Campaign

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions