Start learning →

Test-driven development (TDD) follows the cycle

ACode first, then tests, then deploy
BDocument, code, test, then refactor
CRefactor first, test, then write code
DRed, green, refactor in tight loops
Answer & Solution
Correct answer: D. Red, green, refactor in tight loops
**TDD red-green-refactor:** write a failing test (red), write the minimum code to pass (green), refactor with confidence. Drives design from the consumer/test perspective.
Practise this question with Quill — Software Testing →

Keep practising Fundamentals Levels Techniques

Browse all Fundamentals Levels Techniques questions for Software Testing, or explore more Software Testing topics.

Start a Fundamentals Levels Techniques lesson →
Related questions