All challenges
Multiple ChoiceIntermediate 30s

TDD cycle

Choose the best answer for: test-driven development
Options
  1. 1No tests written before or after the implementation code
  2. 2Write the code first, then add tests once it works
  3. 3Only refactor working code without failing tests first
  4. 4Red (fail) → Green (pass) → Refactor → Repeat

Think you can answer under pressure?

Get matched and answer live questions in 3-minute 1v1 battles. Elo ranking, badge tiers and bragging rights on the line.

Play this in a 3-minute battle