Talk:The Three Laws of Test-Driven Development
From Programmer 97-things
More benefits:
- second pair of eyes: your test takes an different viewpoint onto your code while you're writing it
- the test is the first user of your API. You soon get a feeling if its awkward to use.
- tests code what is Done if all test run and cover the aspects required of your code, you're done
--Michael Hunger 16:54, 26 January 2009 (PST)
