QA/TestingGeneralAround since 2003

TDD

Also written as Test-Driven Development

A development practice where a developer writes a failing test for a feature BEFORE writing the code that makes it pass.

Think of it like

Like writing the answer key before writing the exam — you decide what 'correct' looks like first, then build toward it.

Junior or senior?

Junior sounds like

Knows the TDD concept from an interview prep guide.

Senior sounds like

Can say honestly whether they practice it consistently, occasionally, or mostly write tests after — and what determines that for them.

Ask them

“Do you practice TDD consistently, occasionally, or mostly write tests after the code? What determines that for you?”