C4D Practice
← Browse by Chapter
#112Chapter 21 — TDD with Claude Code
Here is the requirement: [paste it, or give the path of the document]. Make the failing tests in [test file] pass. Do not change any test, snapshot or test configuration. Write the simplest implementation that passes each test for the reason it states, not by special-casing its inputs. Run the whole suite and show me the output. If a test looks wrong to you, stop and tell me instead of working around it.
Mastering Claude Code
Mastering Claude Code

These prompts are excerpts from the book. Get the full collection with explanations and use cases.

Get the Book →