volume_mute

TDD and Test-First Development Principle

publish date2026/06/18 05:45:8.141608 UTC

Complete the key principle of TDD: "You don't start working on the next (1) until the code that you have developed passes all of its (2)."

Please drag and drop the selected option in the right place or type it instead
increment
tests
sprint
reviews

Correct Answer

(1) increment
(2) tests

Explanation

The core rule of TDD is: you don't start working on the next increment until the code you have developed passes all of its tests. This ensures that the codebase is always in a working state and prevents defects from accumulating across increments.

Reference

Software Engineering, Ian Sommerville, 10th edition


Quizzes you can take where this question appears