Browse Developers Section 4: Testing

TDD: Write Tests First

6 fill-in slots · from The AI Prompt Handbook for Developers

Your details

0/6 filled

TDD: Write Tests First

I want to implement [feature] using test-driven development.

FEATURE DESCRIPTION:
[What it should do]

FUNCTION SIGNATURE:
[Expected interface]

REQUIREMENTS:
- [Requirement 1]
- [Requirement 2]
- [Requirement 3]

Please provide:
1. A comprehensive test suite that specifies the behavior
2. Tests should be failing (implementation doesn't exist yet)
3. Order tests from simplest to most complex
4. Include comments explaining what each test verifies

I'll implement the code to make the tests pass.

Highlighted [slots] are still empty. Downloads are plain .txt — paste into any AI assistant.