Talk:Test Driven Development

From CSSEMediaWiki
Jump to: navigation, search

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

Personal tools