Testing & QA

TDD

/tiː diː diː/

Definition

Test-Driven Development — write a failing test first, then the minimum code to pass it, then refactor.

Example in context

"Red (failing test), Green (pass), Refactor — the TDD cycle keeps us from shipping untested code."

Related terms

Practice this term

Master TDD in context by working through exercises in the Testing & QA module. You'll see the term used in real engineering scenarios with multiple-choice, fill-in-the-blank, and matching drills.