Red-First TDD
By the end of this guide, you will:
-
Discover why snapshot tests canβt drive design
-
Understand the red-green-refactor cycle
-
Write failing assertion-based tests that express intent before code exists
-
TDD directory traversal: Enter navigates into directories, Backspace goes to parent
-
Know when to use assertions (driving design) vs snapshots (guarding regressions)
-
Add new semantic messages to your Router (
enter_directory,go_parent)
β οΈ This page is a stub. Help us write it! See the Documentation Plan and Style Guide.