IT lexicon Programming TDD

TDD Test-Driven Development

Programming På svenska → Updated: 2026-05-23

Write the test first (red), then the code to make it pass (green), then refactor.

Discipline from Kent Beck. Forces testable design, gives fast feedback, gives self-documenting specs. Controversial — not everyone runs strict TDD, but most recognise the value of tests-first.

← Back to the lexicon