Skip to main content

Blog Archive for wwake during March 2004

Test-driven development uses a tight cycle of "test, code, refactor" to develop software. Tension and Release I use the analogy of a stoplight: you start with a green light (all tests passing). Then you write a test; often you're referring to classes or methods that don't exist yet, and get a compiler error (yellow light). You fix this error by writing stubs, and when you run the test it fails...