8 ms·
Q: How do you ensure tests are only written by humans? Basically just the honor system?
by meeech 1y ago
Q: How do you ensure tests are only written by humans? Basically just the honor system?
- diwank 1y agoYou 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 1y agoDisallow 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?
- mathgeek 1y ago> So how do you ensure everyone keeps to that agreement? There's nothing specific to using Claude or any other automation tool here. You still use code reviews, linters, etc. to catch anything that isn't following the team norms and expectations. Either that or, as the article points out, someone will cause an incident and may be looking for a new role (or nothing bad happens and no one is the wiser).
- davidmurdoch 1y agoWhy?