刚才有人给我留言,说[url=http://charon.blogdriver.com/charon/132572.html ]Test Drive != Test First[/url],让我差点晕倒。
无话好说,就贴一段Kent Beck对TDD的定义:
Test-driven development (TDD) (Beck 2003; Astels 2003), is an evolutionary approach to development which combines [b]test-first[/b] development where you write a test before you write just enough production code to fulfill that test and refactoring.
如果有人想给TDD重新定义的话,最好先通知大家一声。
无话好说,就贴一段Kent Beck对TDD的定义:
Test-driven development (TDD) (Beck 2003; Astels 2003), is an evolutionary approach to development which combines [b]test-first[/b] development where you write a test before you write just enough production code to fulfill that test and refactoring.
如果有人想给TDD重新定义的话,最好先通知大家一声。