Talk:Test Driven Development
(New page: Is Red, Green, Refactor the universally accepted method of TDD or are there other equivalent models?) |
Nelson Shaw (Talk | contribs) |
||
Line 1: | Line 1: | ||
Is Red, Green, Refactor the universally accepted method of TDD or are there other equivalent models? | Is Red, Green, Refactor the universally accepted method of TDD or are there other equivalent models? | ||
+ | |||
+ | Hi all, I've got a couple of thoughts on the idea of test driven development. The idea of writing the tests first | ||
+ | can sound like a good place to start, but I argue that by physically writing a test in an arbitrary language, the writer | ||
+ | has placed unnecessary artificial constraints on the design. The idea behind test driven development is to get the designer | ||
+ | to start thinking about the design early, but because of the language the tests have been written in, the final design quality | ||
+ | may be influenced -- As some languages are better than others for certain things. I see that in many cases (i.e. when the software | ||
+ | language is already chosen) test driven development can be a useful tool, but maybe not when designing from scratch? | ||
+ | |||
+ | What are other people's thoughts? [[User:Nelson Shaw]] |
Latest revision as of 04:13, 19 July 2010
Is Red, Green, Refactor the universally accepted method of TDD or are there other equivalent models?
Hi all, I've got a couple of thoughts on the idea of test driven development. The idea of writing the tests first can sound like a good place to start, but I argue that by physically writing a test in an arbitrary language, the writer has placed unnecessary artificial constraints on the design. The idea behind test driven development is to get the designer to start thinking about the design early, but because of the language the tests have been written in, the final design quality may be influenced -- As some languages are better than others for certain things. I see that in many cases (i.e. when the software language is already chosen) test driven development can be a useful tool, but maybe not when designing from scratch?
What are other people's thoughts? User:Nelson Shaw