Test Fixture Realism

Use when writing tests against a shared store or with fabricated fixtures — a test only proves something if its fixtures mirror data reality and its assertions can't pass trivially. Covers asserting on rows you created (not aggregate counts), real referential integrity, seeded randomness and pinned time, fail-closed guard fixtures, and mocks that quietly load the real module. Triggers on "test fixtures", "seed data", "test DB", "factory", "mock returns", "flaky test", "assert count", "foreign key in test", "automock", and building any non-trivial test's setup.

iamakbarsha1 Updated

File contents

iamakbarsha1/whetstone/tree/main/skills/test-fixture-realism commit c30a5a06b8

Frequently asked questions

npx skillmds@latest add iamakbarsha1/test-fixture-realism