Multiple choice technology architecture

The engineering approach in which tests are written before code and new code is written to fix failing tests is called

  1. Extreme programming

  2. Test driven development

  3. Time boxed development

  4. None of the above

Reveal answer Fill a bubble to check yourself
B Correct answer
Explanation

Test-driven development (TDD) is the practice where developers write automated tests before writing the production code. The cycle repeats: write a failing test, write just enough code to pass it, refactor. This differs from Extreme Programming (which uses TDD as a practice) and simple time-boxing.