IQ.II · ISTQB CTFL practice question
Which statement describes Test-Driven Development (TDD)?
Check answer and explanation
Correct answer: Developers write automated unit tests before writing the production code to pass them, then refactor
Explanation
TDD is a development practice where tests are written first, code is written to make the tests pass, and the code is refactored while keeping tests green.
Common trap
TDD is a development practice where tests are written first, code is written to make the tests pass, and the code is refactored while keeping tests green.
Source: Original unofficial practice; not an official ISTQB exam item
Checked against the cited text on 2026-11-30.