All challenges
Code AnalysisIntermediate 45s

TDD red-green-refactor

In TDD, what comes first?
Starter code
# 1. Write failing test (RED)
# 2. Write minimal code to pass (GREEN)
# 3. Improve code structure (REFACTOR)

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