Rule Testing

Test Behavior, Not Implementation

Test outcomes and behavior, not internal implementation details

testingbehaviormaintainability
CLAUDE.md

Test behavior and outcomes, not implementation details. Tests should verify what a function does, not how it does it. This makes tests resilient to refactoring.

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

get crystl