Rule Testing

Arrange-Act-Assert

Structure tests with clear arrange, act, and assert sections

testingstructurereadability
CLAUDE.md

Structure tests with arrange, act, and assert sections. Set up the preconditions, perform the action, then verify the result. Separate these phases with blank lines.

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

get crystl