Drive a small feature with test-driven development
8 steps · about 3 h 20 min · Beginner
- Learn the red-green-refactor loop (article, Martin Fowler, 10 min)
A short, clear statement of the TDD cycle.
- See why self-testing code matters (article, Martin Fowler, 10 min)
Explains the payoff that makes writing tests first worth it.
- Work in nano to long TDD cycles (article, Clean Coder Blog, 10 min)
Describes the second-by-second and minute-by-minute rhythms.
- Follow a worked TDD session (article, James Shore, 30 min)
A detailed walk-through of choosing the next small test.
- Apply TDD in a Python project (tutorial, TestDriven.io, 15 min)
Shows the cycle with pytest and real code.
- Build a web app test-first (tutorial, Obey the Testing Goat, 1 h)
A free book that drives a Django app entirely with tests.
- Learn a language by writing tests first (repo, GitHub, 45 min)
Chapter-by-chapter TDD exercises in Go.
- Pick a kata to practise TDD (interactive, Kata-Log, 20 min)
A catalogue of small problems sized for one session.