top | item 44213863

(no title)

meeech | 8 months ago

Q: How do you ensure tests are only written by humans? Basically just the honor system?

discuss

order

diwank|8 months ago

You can:

1. Add instructions in CLAUDE.md to not touch tests.

2. Disallow the Edit tool for test directories in the project’s .claude/settings.json file

meeech|8 months ago

Disallow edit in test dirs is a good tip. thanks.

I meant though in the wider context of the team - everyone uses it but not everyone will work the same, use the same underlying prompts as they work. So how do you ensure everyone keeps to that agreement?