Skip to content
C4D Practice
Dashboard
Prompts
Errata
Articles
Resources
Chapter 21
TDD with Claude Code
Question 1 of 10
Chapter 21
Foundation
The red commit and the team's hook
Your pre-commit hook runs the suite and refuses your red commit. What do you do, and what must never happen to that commit?
A.
Commit with `--no-verify` on your own branch, and squash it away before merging.
B.
Commit with `--no-verify`, push it alone for review and merge it as it stands.
C.
Remove the hook for the whole team so that red commits go through without any flag.
D.
Wait to commit the tests until the implementation exists, so the hook passes.