Beginner Web & Software Development
Q13 / 100

What is TDD (Test-Driven Development)?

Correct! Well done.

Incorrect.

The correct answer is B) A development practice writing failing tests before code, then writing minimum code to pass, then refactoring — Red, Green, Refactor cycle

B

Correct Answer

A development practice writing failing tests before code, then writing minimum code to pass, then refactoring — Red, Green, Refactor cycle

Explanation

TDD: write a failing test (Red) → write minimum code to pass (Green) → refactor cleanly. Ensures tests exist, keeps design simple, and catches regressions. Uncle Bob, Kent Beck advocate TDD.

Progress
13/100