Proposed Term
Red/Green TDD
Context (Optional)
Classically, test-driven development is practiced by first writing a failing test, then watching it fail, then making it pass. LLMs don't do this by default - they tend to implement the feature, then write the test after the fact.
When you say "use Red/Green TDD" the LLM sticks to the classic practice.
source" https://simonwillison.net/guides/agentic-engineering-patterns/red-green-tdd/
Pre-submission Checklist
Proposed Term
Red/Green TDD
Context (Optional)
Classically, test-driven development is practiced by first writing a failing test, then watching it fail, then making it pass. LLMs don't do this by default - they tend to implement the feature, then write the test after the fact.
When you say "use Red/Green TDD" the LLM sticks to the classic practice.
source" https://simonwillison.net/guides/agentic-engineering-patterns/red-green-tdd/
Pre-submission Checklist