With test-driven development, you write your test first, then you write just enough code to make the test pass.
+
With test-driven development, you write your test first, then you write just enough code to make the test pass.<ref> [http://weblogs.asp.net/russnem/archive/2007/01/17/shaking-things-up-scrum-agile-and-tdd.aspx Shaking Things Up: Scrum, Agile, and TDD] - Russ Nemhauser</ref>