Rule Testing

Snapshot Tests Sparingly

Use snapshot tests sparingly; prefer explicit assertions

testingsnapshotsmaintainability
CLAUDE.md

Use snapshot tests sparingly. They’re useful for catching unexpected changes in serialized output but make it too easy to approve changes without reviewing them. Prefer explicit assertions.

Copy this block into your CLAUDE.md or agent config file to enforce it in your workflow.

get crystl