Skip to content

Claude Code

Claude Code runs your tests as you would, so it runs your properties already. Two settings make it better at them: the agent format, so it reads a failure with the rules beside it, and leave to run the proptastic command.

Set PROPTASTIC_AGENT for every command Claude runs, in the project’s .claude/settings.json:

{ "env": { "PROPTASTIC_AGENT": "1" } }

A failure then leads with its verdict and the rules, its data fenced (Coding agents), whether Claude runs ./gradlew test or proptastic run.

Without leave, Claude asks each time it runs proptastic. To allow it, add this to the same file, or your own:

{ "permissions": { "allow": ["Bash(proptastic:*)"] } }

In a property Claude is writing, it pastes the failure’s pin it line in, and you see the pin in its diff. For a property it didn’t write, it proposes one with proptastic example ID --propose, and you accept it in review.

Privacy