Multiple choice

What is test-driven development?

  1. Process of writing tests first, then ensuring the tests pass

  2. The process of writing tests at the end of development

  3. The process of having end users test out the application and report bugs

  4. The process of automating deployment of the application and then testing

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

Test-Driven Development (TDD) is a development methodology where developers write automated test cases before writing the actual production code. The cycle involves writing a failing test, writing the minimum code to make it pass, and then refactoring the code.